blob: 4f46e37341e005336a193ab240a0dfb7859dcebc [file] [log] [blame]
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
#*****************************************************************************
#
# geomap.php
#
# Author: Wim Jongman
# Date: 2012-10-20
#
# Description: Describes the GeoMap widget.
#
#****************************************************************************
#
# Begin: page-specific settings. Change these.
$pageTitle = "Nebula GeoMap Widget";
$pageKeywords = "Nebula, SWT, Widgets, Controls";
$pageAuthor = "Wim Jongman";
# Add page-specific Nav bars here
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
# $Nav->addNavSeparator("My Page Links", "downloads.php");
# $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
# End: page-specific settings
#
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="midcolumn">
<h1>$pageTitle</h1>
<h2>GeoMap</h2>
<table border="0" cellspacing="2" cellpadding="0">
<tr>
<td><img src='images/geomap.png'></td>
</tr>
</table>
<p>
GeoMap display tiles from an Openstreetmap server. The widget supports zoom around mouse-click center and has a simple API. The GeoMap comes with a JFace like viewer.
</p>
<p>
You can zoom in around current mouse position by left double click. Left right click zooms out.
</p>
</div>
EOHTML;
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>