use HTML5 in all examples, and some minor example improvements (pullup #3333)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12032 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers KML Parser Example</title>
|
<title>OpenLayers KML Parser Example</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function parseData(req) {
|
function parseData(req) {
|
||||||
@@ -44,8 +46,9 @@
|
|||||||
<div id="output"></div>
|
<div id="output"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This script reads data from a KML file and parses out the coordinates, appending them to a HTML string with markup tags.
|
<p>This script reads data from a KML file and parses out the
|
||||||
This markup is dumped to an element in the page.
|
coordinates, appending them to a HTML string with markup tags.
|
||||||
|
This markup is dumped to an element in the page.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers SLD based selection control</title>
|
<title>OpenLayers SLD based selection control</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.olControlSLDSelectBoxActive {
|
.olControlSLDSelectBoxActive {
|
||||||
cursor: crosshair;
|
cursor: crosshair;
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers WMSDescribeLayer Parser Example</title>
|
<title>OpenLayers WMSDescribeLayer Parser Example</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function parseData(req) {
|
function parseData(req) {
|
||||||
format = new OpenLayers.Format.WMSDescribeLayer();
|
format = new OpenLayers.Format.WMSDescribeLayer();
|
||||||
html = "<br />"
|
html = "<br>"
|
||||||
resp = format.read(req.responseText);
|
resp = format.read(req.responseText);
|
||||||
for(var i = 0; i < resp.length; i++) {
|
for(var i = 0; i < resp.length; i++) {
|
||||||
html += "Layer: typeName: "+ resp[i].typeName+",";
|
html += "Layer: typeName: "+ resp[i].typeName+",";
|
||||||
@@ -38,8 +40,9 @@
|
|||||||
<div id="output"></div>
|
<div id="output"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This script reads data from a file and parses out the coordinates, appending them to a HTML string with markup tags.
|
<p>This script reads data from a file and parses out the coordinates,
|
||||||
This markup is dumped to an element in the page.
|
appending them to a HTML string with markup tags. This markup is
|
||||||
|
dumped to an element in the page.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Accelerometer Usage</title>
|
<title>OpenLayers Accelerometer Usage</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css"/>
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script type="text/javascript" src="browser.js"></script>
|
<script type="text/javascript" src="browser.js"></script>
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Accessible Example</title>
|
<title>OpenLayers Accessible Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
table {
|
table {
|
||||||
border: 1 px solid white;
|
border: 1 px solid white;
|
||||||
@@ -110,7 +112,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
<p>Navigate the map in one of three ways:
|
<p>Navigate the map in one of three ways:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Click on the named links to zoom and pan</li>
|
<li>Click on the named links to zoom and pan</li>
|
||||||
<li>Use following keys to pan and zoom:
|
<li>Use following keys to pan and zoom:
|
||||||
@@ -134,7 +136,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
<p>
|
||||||
|
|
||||||
This is an example of using alternate methods to control panning and zooming. This approach uses map.pan() and map.zoom(). You'll note that to pan, additional math is necessary along with map.size() in order to set the distance to pan.
|
This is an example of using alternate methods to control panning and zooming. This approach uses map.pan() and map.zoom(). You'll note that to pan, additional math is necessary along with map.size() in order to set the distance to pan.
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers All Overlays with Google and OSM</title>
|
<title>OpenLayers All Overlays with Google and OSM</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>All Overlays Example</title>
|
<title>All Overlays Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<title>AnchorPermalink Example</title>
|
<title>AnchorPermalink Example</title>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script src="anchor-permalink.js"></script>
|
<script src="anchor-permalink.js"></script>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Animated Panning of the Map via map.panTo</title>
|
<title>Animated Panning of the Map via map.panTo</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer, running = false;
|
var map, layer, running = false;
|
||||||
@@ -81,7 +83,7 @@
|
|||||||
<div id="shortdesc">Show animated panning effects in the map</div>
|
<div id="shortdesc">Show animated panning effects in the map</div>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
<p>This is an example of transition effects. If the new random center is in the current extent, the map will pan smoothly. <br />
|
<p>This is an example of transition effects. If the new random center is in the current extent, the map will pan smoothly. <br>
|
||||||
The random selection will continue until you press it again. Additionally, you can single click in the map to pan smoothly
|
The random selection will continue until you press it again. Additionally, you can single click in the map to pan smoothly
|
||||||
to that area, or use the pan control to pan smoothly.
|
to that area, or use the pan control to pan smoothly.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers ArcGIS Cache Example (MapServer Access)</title>
|
<title>OpenLayers ArcGIS Cache Example (MapServer Access)</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
|
<script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>ArcGIS Server Map Cache Example (Direct Access)</title>
|
<title>ArcGIS Server Map Cache Example (Direct Access)</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js" type="text/javascript"></script>
|
<script src="../lib/OpenLayers.js" type="text/javascript"></script>
|
||||||
<script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
|
<script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@@ -93,7 +95,7 @@
|
|||||||
layer in conf.xml at the root of your cache.
|
layer in conf.xml at the root of your cache.
|
||||||
(ie. <a href="http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml">http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml</a>)</p>
|
(ie. <a href="http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml">http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml</a>)</p>
|
||||||
|
|
||||||
<p>For fused map caches this is often http:<i>ServerName</i>/arcgiscache/<i>MapServiceName</i>/Layers <br />
|
<p>For fused map caches this is often http:<i>ServerName</i>/arcgiscache/<i>MapServiceName</i>/Layers <br>
|
||||||
For individual layer caches this is often http:<i>ServerName</i>/arcgiscache/<i>LayerName</i>/Layers </p>
|
For individual layer caches this is often http:<i>ServerName</i>/arcgiscache/<i>LayerName</i>/Layers </p>
|
||||||
|
|
||||||
<h2> Other Examples </h2>
|
<h2> Other Examples </h2>
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers ArcGIS Cache Example (Autoconfigure with JSONP)</title>
|
<title>OpenLayers ArcGIS Cache Example (Autoconfigure with JSONP)</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
|
<script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>ArcIMS Thematic Example</title>
|
<title>ArcIMS Thematic Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 0;
|
var lon = 0;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>ArcIMS Example</title>
|
<title>ArcIMS Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 0;
|
var lon = 0;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Attribution Example</title>
|
<title>OpenLayers Attribution Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@@ -26,8 +28,10 @@
|
|||||||
map.addLayers([ol_wms, jpl_wms, vector]);
|
map.addLayers([ol_wms, jpl_wms, vector]);
|
||||||
|
|
||||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||||
map.addControl(new OpenLayers.Control.Attribution());
|
// OpenLayers.Control.Attribution is one of the default
|
||||||
// map.setCenter(new OpenLayers.LonLat(0, 0), 0);
|
// controls - only needs to be added when the map instance is
|
||||||
|
// created with the controls option
|
||||||
|
//map.addControl(new OpenLayers.Control.Attribution());
|
||||||
map.zoomToMaxExtent();
|
map.zoomToMaxExtent();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -46,11 +50,11 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This is an example of how to add an attribution block to the OpenLayers window. In order to use an
|
<p>This is an example of how to add an attribution block to the OpenLayers window. In order to use an
|
||||||
attribution block, an attribution parameter must be set in each layer that requires attribution. In
|
attribution block, an attribution parameter must be set in each layer that requires attribution. In
|
||||||
addition, an attribution control must be added to the map, though one is added to all OpenLayers Maps by default.
|
addition, an attribution control must be added to the map, though one is added to all OpenLayers Maps by default.
|
||||||
Be aware that this is a layer <strong>option</strong>: the options hash goes in
|
Be aware that this is a layer <strong>option</strong>: the options hash goes in
|
||||||
different places depending on the layer type you are using.
|
different places depending on the layer type you are using.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Vector Behavior Example</title>
|
<title>OpenLayers Vector Behavior Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
@@ -41,14 +43,14 @@
|
|||||||
</p>
|
</p>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
The vector layer shown uses the Fixed strategy, the HTTP protocol,
|
<p>The vector layer shown uses the Fixed strategy, the HTTP protocol,
|
||||||
and the GML format.
|
and the GML format.
|
||||||
The Fixed strategy is a simple strategy that fetches features once
|
The Fixed strategy is a simple strategy that fetches features once
|
||||||
and never re-requests new data.
|
and never re-requests new data.
|
||||||
The HTTP protocol makes requests using HTTP verbs. It should be
|
The HTTP protocol makes requests using HTTP verbs. It should be
|
||||||
constructed with a url that corresponds to a collection of features
|
constructed with a url that corresponds to a collection of features
|
||||||
(a resource on some server).
|
(a resource on some server).
|
||||||
The GML format is used to serialize features.
|
The GML format is used to serialize features.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Bing Tiles Example</title>
|
<title>OpenLayers Bing Tiles Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
||||||
<title>OpenLayers Bing Example</title>
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<script src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&mkt=en-us"></script>
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<title>OpenLayers Bing Example</title>
|
||||||
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
<script src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&mkt=en-us"></script>
|
||||||
|
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script>
|
<script>
|
||||||
@@ -53,7 +54,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">This example demonstrates the ability to create layers using tiles from Bing maps.</div>
|
<div id="docs"><p>This example demonstrates the ability to create layers
|
||||||
|
using tiles from Bing maps.</p></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Boxes Vector Example</title>
|
<title>OpenLayers Boxes Vector Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var box_extents = [
|
var box_extents = [
|
||||||
@@ -24,7 +26,7 @@
|
|||||||
|
|
||||||
for (var i = 0; i < box_extents.length; i++) {
|
for (var i = 0; i < box_extents.length; i++) {
|
||||||
ext = box_extents[i];
|
ext = box_extents[i];
|
||||||
bounds = new OpenLayers.Bounds(ext[0], ext[1], ext[2], ext[3]);
|
bounds = OpenLayers.Bounds.fromArray(ext);
|
||||||
|
|
||||||
box = new OpenLayers.Feature.Vector(bounds.toGeometry());
|
box = new OpenLayers.Feature.Vector(bounds.toGeometry());
|
||||||
boxes.addFeatures(box);
|
boxes.addFeatures(box);
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Boxes Example</title>
|
<title>OpenLayers Boxes Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var box_extents = [
|
var box_extents = [
|
||||||
@@ -24,7 +26,7 @@
|
|||||||
|
|
||||||
for (var i = 0; i < box_extents.length; i++) {
|
for (var i = 0; i < box_extents.length; i++) {
|
||||||
ext = box_extents[i];
|
ext = box_extents[i];
|
||||||
bounds = new OpenLayers.Bounds(ext[0], ext[1], ext[2], ext[3]);
|
bounds = OpenLayers.Bounds.fromArray(ext);
|
||||||
box = new OpenLayers.Marker.Box(bounds);
|
box = new OpenLayers.Marker.Box(bounds);
|
||||||
box.events.register("click", box, function (e) {
|
box.events.register("click", box, function (e) {
|
||||||
this.setBorder("yellow");
|
this.setBorder("yellow");
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Browser Detection</title>
|
<title>OpenLayers Browser Detection</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css"/>
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script type="text/javascript" src="browser.js"></script>
|
<script type="text/javascript" src="browser.js"></script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.olControlAttribution {
|
.olControlAttribution {
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Buffer Example</title>
|
<title>OpenLayers Buffer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 0;
|
var lon = 0;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers Canvas Hit Detection Example</title>
|
<title>OpenLayers Canvas Hit Detection Example</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers Canvas Inspector</title>
|
<title>OpenLayers Canvas Inspector</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Canvas Renderer Example</title>
|
<title>Canvas Renderer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
||||||
<script src="canvas.js"></script>
|
<script src="canvas.js"></script>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Click Handler Example</title>
|
<title>OpenLayers Click Handler Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 340px;
|
width: 340px;
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Click Event Example</title>
|
<title>OpenLayers Click Event Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
|
OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
|
||||||
@@ -79,11 +81,11 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
Using the Click handler allows you to (for example) catch clicks
|
<p>Using the Click handler allows you to (for example) catch clicks
|
||||||
without catching double clicks, something that standard browser
|
without catching double clicks, something that standard browser
|
||||||
events don't do for you. (Try double clicking: you'll zoom in,
|
events don't do for you. (Try double clicking: you'll zoom in,
|
||||||
whereas using the browser click event, you would just get two
|
whereas using the browser click event, you would just get two
|
||||||
alerts.) This example click control shows you how to use it.
|
alerts.) This example click control shows you how to use it.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Map Controls Example</title>
|
<title>OpenLayers Map Controls Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>
|
<title>
|
||||||
OpenLayers CQL Example
|
OpenLayers CQL Example
|
||||||
</title>
|
</title>
|
||||||
|
|||||||
@@ -2,10 +2,11 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers Script Protocol Example</title>
|
<title>OpenLayers Script Protocol Example</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Custom Control Example</title>
|
<title>Custom Control Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 5;
|
var lon = 5;
|
||||||
@@ -58,9 +60,9 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
The control allows you to draw a rectangle, that reports its coordinates
|
<p>The control allows you to draw a rectangle, that reports its coordinates
|
||||||
after creation. Hold down the shift key on your keyboard and draw a
|
after creation. Hold down the shift key on your keyboard and draw a
|
||||||
rectangle with the mouse.
|
rectangle with the mouse.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Custom Style Example</title>
|
<title>Custom Style Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
p {
|
p {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
<!DOCTYPE html>
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Debug Example</title>
|
<title>OpenLayers Debug Example</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/Firebug/firebug.js"></script>
|
<script src="../lib/Firebug/firebug.js"></script>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@@ -39,16 +39,16 @@
|
|||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
<p>To run OpenLayers in debug mode, include the following script
|
<p>To run OpenLayers in debug mode, include the following script
|
||||||
tag <b>before</b> the tag that loads OpenLayers:
|
tag <b>before</b> the tag that loads OpenLayers:</p>
|
||||||
|
|
||||||
<pre> <script src="../lib/Firebug/firebug.js"></script></pre>
|
<pre> <script src="../lib/Firebug/firebug.js"></script></pre>
|
||||||
|
|
||||||
The path to firebug.js must be relative to your
|
<p>The path to firebug.js must be relative to your
|
||||||
html file. With this script included calls to OpenLayers.Console
|
html file. With this script included calls to OpenLayers.Console
|
||||||
will be displayed in the Firebug console. For browsers without
|
will be displayed in the Firebug console. For browsers without
|
||||||
the Firebug extension, the script creates a Firebug Lite console.
|
the Firebug extension, the script creates a Firebug Lite console.
|
||||||
This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b>
|
This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b>
|
||||||
(<b>?+Shift+L</b> on a Mac). If you want the Firebug Lite console
|
(<b>Command+Shift+L</b> on a Mac). If you want the Firebug Lite console
|
||||||
to be open when the page loads, add <b>debug="true"</b> to the opening
|
to be open when the page loads, add <b>debug="true"</b> to the opening
|
||||||
html tag of your page. Open the console and click on the links below
|
html tag of your page. Open the console and click on the links below
|
||||||
to see console calls.</p>
|
to see console calls.</p>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Document Drag Example</title>
|
<title>OpenLayers Document Drag Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
@@ -35,7 +37,7 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This example shows how to make a map draggable outside of the map itself.
|
<p>This example shows how to make a map draggable outside of the map itself.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Polygon Hole Digitizing</title>
|
<title>OpenLayers Polygon Hole Digitizing</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Double Set Center Example</title>
|
<title>OpenLayers Double Set Center Example</title>
|
||||||
|
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 id="title">Double Set Center Example</h1>
|
<h1 id="title">Double Set Center Example</h1>
|
||||||
@@ -16,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p id="shortdesc">
|
<p id="shortdesc">
|
||||||
Demonstrate the behavior of two calls to set the center after instatiating the layer object.
|
Demonstrate the behavior of two calls to set the center after instantiating the layer object.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Drag Feature Example</title>
|
<title>Drag Feature Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#controls {
|
#controls {
|
||||||
width: 512px;
|
width: 512px;
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Draw Feature Example</title>
|
<title>Draw Feature Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#controlToggle li {
|
#controlToggle li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Vector Behavior Example</title>
|
<title>OpenLayers Vector Behavior Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
@@ -82,20 +84,18 @@
|
|||||||
</p>
|
</p>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
The vector layer shown uses the BBOX strategy, the HTTP protocol,
|
<p>The vector layer shown uses the BBOX strategy, the HTTP protocol,
|
||||||
and the Text format.
|
and the Text format.
|
||||||
This setup appends "?bbox=west,south,east,north" to every
|
This setup appends "?bbox=west,south,east,north" to every
|
||||||
request. This allows you to configure the location as something
|
request. This allows you to configure the location as something
|
||||||
like 'textfile.php', and take the '?bbox=' parameter to select
|
like 'textfile.php', and take the '?bbox=' parameter to select
|
||||||
data from a database or the like.
|
data from a database or the like.</p>
|
||||||
<br /><br />
|
<p>There is nothing about this example that limits it to text files;
|
||||||
There is nothing about this example that limits it to text files;
|
you can do the same thing with KML, GeoJSON, etc.</p>
|
||||||
you can do the same thing with KML, GeoJSON, etc.
|
<p>This is an alternative to something like the <a href="http://wiki.openstreetmap.org/index.php/OpenLayers_Dynamic_POI">OpenStreetMap "Dynamic POI"</a> example. The Layer is a standard vector layer, and interaction can be
|
||||||
<br /><br />
|
|
||||||
This is an alternative to something like the <a href="http://wiki.openstreetmap.org/index.php/OpenLayers_Dynamic_POI">OpenStreetMap "Dynamic POI"</a> example. The Layer is a standard vector layer, and interaction can be
|
|
||||||
configured via the SelectFeature control, as you can see in the
|
configured via the SelectFeature control, as you can see in the
|
||||||
latter half of the code, which allows you to open a popup when
|
latter half of the code, which allows you to open a popup when
|
||||||
a feature is selected.
|
a feature is selected.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers: Custom Editing Toolbar</title>
|
<title>OpenLayers: Custom Editing Toolbar</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.olControlEditingToolbar {
|
.olControlEditingToolbar {
|
||||||
float:left;
|
float:left;
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Editing Toolbar Example</title>
|
<title>OpenLayers Editing Toolbar Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<!--[if lte IE 6]>
|
<!--[if lte IE 6]>
|
||||||
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script src="../lib/Firebug/debug.js"></script>
|
<script src="../lib/Firebug/firebug.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 5;
|
var lon = 5;
|
||||||
var lat = 40;
|
var lat = 40;
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Event Handling</title>
|
<title>OpenLayers Event Handling</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#panel {
|
#panel {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<!-- This is the example list source: if you are trying to look at the
|
<!-- This is the example list source: if you are trying to look at the
|
||||||
source of an example, YOU ARE IN THE WRONG PLACE. If you want to view
|
source of an example, YOU ARE IN THE WRONG PLACE. If you want to view
|
||||||
the source of just one example, you can typically choose
|
the source of just one example, you can typically choose
|
||||||
@@ -11,7 +12,7 @@
|
|||||||
click on the link), and view source from there. -->
|
click on the link), and view source from there. -->
|
||||||
<title>OpenLayers Examples</title>
|
<title>OpenLayers Examples</title>
|
||||||
<link rel="alternate" href="example-list.xml" type="application/atom+xml" />
|
<link rel="alternate" href="example-list.xml" type="application/atom+xml" />
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html, body {
|
html, body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -281,7 +282,7 @@
|
|||||||
<a jugl:attributes="href example.link" class="mainlink"
|
<a jugl:attributes="href example.link" class="mainlink"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
<h5 class="ex_title">
|
<h5 class="ex_title">
|
||||||
<span jugl:replace="example.title">title</span><br />
|
<span jugl:replace="example.title">title</span><br>
|
||||||
<span class="ex_filename" jugl:content="'(' + example.example + ')'">filename</span>
|
<span class="ex_filename" jugl:content="'(' + example.example + ')'">filename</span>
|
||||||
</h5>
|
</h5>
|
||||||
<div class="ex_description" jugl:content="example.shortdesc">
|
<div class="ex_description" jugl:content="example.shortdesc">
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Example</title>
|
<title>OpenLayers Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Filter Strategy Example</title>
|
<title>OpenLayers Filter Strategy Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style>
|
<style>
|
||||||
#in {
|
#in {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
@@ -94,11 +96,11 @@ filter = new OpenLayers.Filter.Logical({
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
</textarea>
|
</textarea>
|
||||||
<button id="write">write</button><br />
|
<button id="write">write</button><br>
|
||||||
Filter Encoding 1.0
|
Filter Encoding 1.0
|
||||||
<textarea id="out0"></textarea><br />
|
<textarea id="out0"></textarea><br>
|
||||||
Filter Encoding 1.1
|
Filter Encoding 1.1
|
||||||
<textarea id="out1"></textarea><br />
|
<textarea id="out1"></textarea><br>
|
||||||
<p id="docs">
|
<p id="docs">
|
||||||
</p>
|
</p>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
@@ -53,7 +55,7 @@
|
|||||||
id="fractional" checked="checked" onclick="update(this)" />
|
id="fractional" checked="checked" onclick="update(this)" />
|
||||||
<label for="fractional">Fractional Zoom</label>
|
<label for="fractional">Fractional Zoom</label>
|
||||||
(zoom: <span id="zoom"></span>)
|
(zoom: <span id="zoom"></span>)
|
||||||
<br /><br />
|
<br><br>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
<p>
|
<p>
|
||||||
Setting the map.fractionalZoom property to true allows zooming to
|
Setting the map.fractionalZoom property to true allows zooming to
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Full Screen Example</title>
|
<title>Full Screen Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html, body, #map {
|
html, body, #map {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Game: Bounce Ball</title>
|
<title>OpenLayers Game: Bounce Ball</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js?mobile"></script>
|
<script src="../lib/OpenLayers.js?mobile"></script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html, body { height: 100%; }
|
html, body { height: 100%; }
|
||||||
@@ -74,7 +76,7 @@
|
|||||||
|
|
||||||
<div id="map" width="100%" height="100%" style="background-color: grey"></div>
|
<div id="map" width="100%" height="100%" style="background-color: grey"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
Demo works best when device is locked in portrait mode.
|
<p>Demo works best when device is locked in portrait mode.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 5;
|
var lon = 5;
|
||||||
@@ -69,7 +71,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This example uses the GeoJSON format.
|
<p>This example uses the GeoJSON format.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Geolocation</title>
|
<title>OpenLayers Geolocation</title>
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.olPopupContent {
|
.olPopupContent {
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers GeoRSS Marker Example</title>
|
<title>OpenLayers GeoRSS Marker Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers GeoRSS Example</title>
|
<title>OpenLayers GeoRSS Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
@@ -45,11 +47,11 @@
|
|||||||
<p>This demo uses the OpenLayers GeoRSS parser, which supports GeoRSS Simple and W3C GeoRSS. Only points are
|
<p>This demo uses the OpenLayers GeoRSS parser, which supports GeoRSS Simple and W3C GeoRSS. Only points are
|
||||||
currently supported. The OpenLayers GeoRSS parser will automatically connect an information bubble to the map
|
currently supported. The OpenLayers GeoRSS parser will automatically connect an information bubble to the map
|
||||||
markers, similar to Google maps. In addition, the parser can use custom PNG icons for markers. A sample GeoRSS
|
markers, similar to Google maps. In addition, the parser can use custom PNG icons for markers. A sample GeoRSS
|
||||||
file (georss.xml) is included.
|
file (georss.xml) is included.</p>
|
||||||
|
|
||||||
<form onsubmit="return false;">
|
<form onsubmit="return false;">
|
||||||
GeoRSS URL: <input type="text" id="url" size="50" value="georss.xml" />
|
GeoRSS URL: <input type="text" id="url" size="50" value="georss.xml" />
|
||||||
<input type="submit" onclick="addUrl(); return false;" value="Load Feed" onsubmit="addUrl(); return false;" />
|
<input type="submit" onclick="addUrl(); return false;" value="Load Feed" onsubmit="addUrl(); return false;">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p>The above input box allows the input of a URL to a GeoRSS feed. This feed can be local to the HTML page —
|
<p>The above input box allows the input of a URL to a GeoRSS feed. This feed can be local to the HTML page —
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<title>WFS: GetFeature Example (GeoServer)</title>
|
<title>WFS: GetFeature Example (GeoServer)</title>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@@ -78,9 +80,5 @@ WFS, GetFeature
|
|||||||
of GetFeature requests to be issued.
|
of GetFeature requests to be issued.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers WMS Feature Info Example (GeoServer)</title>
|
<title>OpenLayers WMS Feature Info Example (GeoServer)</title>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
ul, li {
|
ul, li {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
@@ -44,7 +46,7 @@
|
|||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script defer="defer" type="text/javascript">
|
<script defer="defer" type="text/javascript">
|
||||||
OpenLayers.ProxyHost = "proxy.cgi?url=";
|
OpenLayers.ProxyHost = "proxy.cgi?url=";
|
||||||
|
|
||||||
var map, infocontrols, water, highlightlayer;
|
var map, infocontrols, water, highlightlayer;
|
||||||
@@ -157,7 +159,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// function toggle(key
|
// function toggle(key
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="load()">
|
<body onload="load()">
|
||||||
<h1 id="title">Feature Info Example</h1>
|
<h1 id="title">Feature Info Example</h1>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>GetFeatureInfo Popup</title>
|
<title>GetFeatureInfo Popup</title>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script>
|
<script>
|
||||||
OpenLayers.ProxyHost = "proxy.cgi?url=";
|
OpenLayers.ProxyHost = "proxy.cgi?url=";
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers GML Layer Example</title>
|
<title>OpenLayers GML Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 5;
|
var lon = 5;
|
||||||
@@ -31,7 +33,7 @@
|
|||||||
|
|
||||||
<p id="shortdesc">
|
<p id="shortdesc">
|
||||||
Loads locally stored GML vector data on a basemap. Includes GML example file.
|
Loads locally stored GML vector data on a basemap. Includes GML example file.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Google NG Layer Example</title>
|
<title>OpenLayers Google NG Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Google with Overlay Example</title>
|
<title>OpenLayers Google with Overlay Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
|
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
|
||||||
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
@@ -50,12 +52,12 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
An overlay in a Geographic projection can be stretched to somewhat
|
<p>An overlay in a Geographic projection can be stretched to somewhat
|
||||||
line up with Google tiles (in a Mercator projection). Results get
|
line up with Google tiles (in a Mercator projection). Results get
|
||||||
worse farther from the equator. Use the "reproject" option on a
|
worse farther from the equator. Use the "reproject" option on a
|
||||||
layer to get this behavior. Use the sphericalMercator option on
|
layer to get this behavior. Use the sphericalMercator option on
|
||||||
a Google layer to get proper overlays (with other layers in
|
a Google layer to get proper overlays (with other layers in
|
||||||
Spherical Mercator).
|
Spherical Mercator).</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Google (v3) Layer Example</title>
|
<title>OpenLayers Google (v3) Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Google (v3) Layer Example</title>
|
<title>OpenLayers Google (v3) Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Google Layer Example</title>
|
<title>OpenLayers Google Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
|
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
|
||||||
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<title>OpenLayers Graphic Names</title>
|
<title>OpenLayers Graphic Names</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js" type="text/javascript"></script>
|
<script src="../lib/OpenLayers.js" type="text/javascript"></script>
|
||||||
<script src="./graphic-name.js" type="text/javascript"></script>
|
<script src="./graphic-name.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Graticule Example</title>
|
<title>OpenLayers Graticule Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<title>OpenLayers Gutter Example</title>
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<title>OpenLayers Gutter Example</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
p.caption {
|
p.caption {
|
||||||
width: 512px;
|
width: 512px;
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>SelectFeature Control for Select and Highlight</title>
|
<title>SelectFeature Control for Select and Highlight</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<!--[if lte IE 6]>
|
<!--[if lte IE 6]>
|
||||||
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#controlToggle li {
|
#controlToggle li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Hover Handler Example</title>
|
<title>OpenLayers Hover Handler Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 340px;
|
width: 340px;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<title>OpenLayers Image Layer Example</title>
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<title>OpenLayers Image Layer Example</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
p.caption {
|
p.caption {
|
||||||
width: 512px;
|
width: 512px;
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Geometry Intersections</title>
|
<title>Geometry Intersections</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<!--[if lte IE 6]>
|
<!--[if lte IE 6]>
|
||||||
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html, body {
|
html, body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -180,11 +182,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="info">
|
<div id="info">
|
||||||
Features
|
<p>Features</p>
|
||||||
<input type="button" value="refresh" onclick="serialize();" /><br />
|
<input type="button" value="refresh" onclick="serialize();"><br>
|
||||||
<textarea id="features"></textarea>
|
<textarea id="features"></textarea>
|
||||||
Intersections
|
<p>Intersections</p>
|
||||||
<input type="button" value="intersect all" onclick="intersect();" /><br />
|
<input type="button" value="intersect all" onclick="intersect();"><br>
|
||||||
<textarea id="intersections"></textarea>
|
<textarea id="intersections"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers KaMap Example</title>
|
<title>OpenLayers KaMap Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers Kinetic Dragging Example</title>
|
<title>OpenLayers Kinetic Dragging Example</title>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers KML Track in a PointTrack Layer Example</title>
|
<title>OpenLayers KML Track in a PointTrack Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
@@ -33,6 +34,7 @@
|
|||||||
<p>
|
<p>
|
||||||
View the <a href="kml-pointtrack.js" target="_blank">kml-pointtrack.js</a>
|
View the <a href="kml-pointtrack.js" target="_blank">kml-pointtrack.js</a>
|
||||||
source to see how this is done.
|
source to see how this is done.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers KLM Track Parsing Example</title>
|
<title>OpenLayers KLM Track Parsing Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Late Rendering Example</title>
|
<title>OpenLayers Late Rendering Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@@ -36,11 +38,11 @@
|
|||||||
</p>
|
</p>
|
||||||
<div id="container_id" class="smallmap"></div>
|
<div id="container_id" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
In cases where you need to create a map first and render it to some
|
<p>In cases where you need to create a map first and render it to some
|
||||||
container later, call the map constructor without a "div" argument.
|
container later, call the map constructor without a "div" argument.
|
||||||
In this case, you can provide the options object as the first argument.
|
In this case, you can provide the options object as the first argument.
|
||||||
To render your map to some container after construction, call the map's
|
To render your map to some container after construction, call the map's
|
||||||
render method with the container id.
|
render method with the container id.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Layer Opacity Example</title>
|
<title>OpenLayers Layer Opacity Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Layer Load Monitoring Example</title>
|
<title>OpenLayers Layer Load Monitoring Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#controls {
|
#controls {
|
||||||
float: left;
|
float: left;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Layer Switcher Example</title>
|
<title>OpenLayers Layer Switcher Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Basic Single WMS Example</title>
|
<title>OpenLayers Basic Single WMS Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
@@ -30,7 +32,8 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This example shows a very simple layout with minimal controls. This example uses a single WMS base layer.
|
<p>This example shows a very simple layout with minimal controls.
|
||||||
|
This example uses a single WMS base layer.</b>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers MapGuide Layer Example</title>
|
<title>OpenLayers MapGuide Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>MapServer Layer</title>
|
<title>MapServer Layer</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 5;
|
var lon = 5;
|
||||||
@@ -31,7 +33,9 @@
|
|||||||
<div id="shortdesc">Shows MapServer Layer</div>
|
<div id="shortdesc">Shows MapServer Layer</div>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This is an example of using a MapServer Layer with a gutter parameter. The gutter parameter is used to try to limit the edge effects between tiles.
|
<p>This is an example of using a MapServer Layer with a gutter
|
||||||
|
parameter. The gutter parameter is used to try to limit the edge
|
||||||
|
effects between tiles.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>MapServer Single Tile Mode</title>
|
<title>MapServer Single Tile Mode</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -33,7 +35,9 @@
|
|||||||
<div id="shortdesc">Shows single tile MapServer Layer</div>
|
<div id="shortdesc">Shows single tile MapServer Layer</div>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This shows an example of using a MapServer Layer in single tile mode. Single tile mode can be useful when pulling data from dynamic sources.
|
<p>This shows an example of using a MapServer Layer in single tile
|
||||||
|
mode. Single tile mode can be useful when pulling data from dynamic
|
||||||
|
sources.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers: Vector Graphics with Shadows</title>
|
<title>OpenLayers: Vector Graphics with Shadows</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.smallmap {
|
.smallmap {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Resize a Marker</title>
|
<title>Resize a Marker</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
@@ -48,7 +50,10 @@
|
|||||||
<div id="shortdesc">Dynamically resize a marker</div>
|
<div id="shortdesc">Dynamically resize a marker</div>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This example shows how to create a OpenLayers.Layer.Markers layer, add an icon, put it into a marker, and add the marker to the layer. Once the marker has been added it is possible to use setSize() on the icon in order to resize the marker.
|
<p>This example shows how to create a OpenLayers.Layer.Markers layer,
|
||||||
|
add an icon, put it into a marker, and add the marker to the layer.
|
||||||
|
Once the marker has been added it is possible to use setSize() on the
|
||||||
|
icon in order to resize the marker.</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="background-color:purple" onclick="resize()"> click to resize marker</div>
|
<div style="background-color:purple" onclick="resize()"> click to resize marker</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Markers Layer Example</title>
|
<title>Markers Layer Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
@@ -49,7 +51,9 @@
|
|||||||
<div id="shortdesc">Show markers layer with different markers</div>
|
<div id="shortdesc">Show markers layer with different markers</div>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This is an example of an OpenLayers.Layers.Markers layer that shows some examples of adding markers. Also demonstrated is registering a mousedown effect on a marker.
|
<p>This is an example of an OpenLayers.Layers.Markers layer that shows
|
||||||
|
some examples of adding markers. Also demonstrated is registering a
|
||||||
|
mousedown effect on a marker.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Using a Layer.Text to display markers</title>
|
<title>Using a Layer.Text to display markers</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#controlToggle li {
|
#controlToggle li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>MultiMap</title>
|
<title>MultiMap</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Mobile Navigation Example</title>
|
<title>Mobile Navigation Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.mobile.css" type="text/css" />
|
<link rel="stylesheet" href="style.mobile.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script type="text/javascript" src="../lib/OpenLayers.js?mobile"></script>
|
<script type="text/javascript" src="../lib/OpenLayers.js?mobile"></script>
|
||||||
<script type="text/javascript" src="mobile-navigation.js"></script>
|
<script type="text/javascript" src="mobile-navigation.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Modify Feature</title>
|
<title>Modify Feature</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#controls {
|
#controls {
|
||||||
width: 512px;
|
width: 512px;
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
<!DOCTYPE html>
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" debug="true">
|
<html xmlns="http://www.w3.org/1999/xhtml" debug="true">
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>MousePosition Control</title>
|
<title>MousePosition Control</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
@@ -40,6 +40,8 @@
|
|||||||
</p>
|
</p>
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="coords"></div>
|
<div id="coords"></div>
|
||||||
<p>Moving your mouse to the upper left corner of this map should return 'x=0,y=0' -- in the past, it didn't in IE. If it returns 2,2, consider it a bug, and report it.</p>
|
<p>Moving your mouse to the upper left corner of this map should return
|
||||||
|
'x=0,y=0' -- in the past, it didn't in IE. If it returns 2,2, consider it a
|
||||||
|
bug, and report it.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Mousewheel Interval Example</title>
|
<title>OpenLayers Mousewheel Interval Example</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>MultiMap SphericalMercator</title>
|
<title>MultiMap SphericalMercator</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<!--[if lte IE 6]>
|
<!--[if lte IE 6]>
|
||||||
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers: Tiles from Multiple Servers</title>
|
<title>OpenLayers: Tiles from Multiple Servers</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var lon = 5;
|
var lon = 5;
|
||||||
@@ -37,7 +39,13 @@
|
|||||||
|
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
Browsers typically limit the number of concurrent requests to the same server, based on hostname. In order to ake tiles load more quickly, it often makes sense to distribute requests over multiple hostnames to achieve more concurrency. Typically, browsers perform best with 3 different hostnames -- your performance may vary. (For example, if your server can't handle more than 2 requests simultaneously, then additional hostnames will not help you.)
|
<p>Browsers typically limit the number of concurrent requests to the same
|
||||||
|
server, based on hostname. In order to ake tiles load more quickly, it
|
||||||
|
often makes sense to distribute requests over multiple hostnames to achieve
|
||||||
|
more concurrency. Typically, browsers perform best with 3 different
|
||||||
|
hostnames -- your performance may vary. (For example, if your server can't
|
||||||
|
handle more than 2 requests simultaneously, then additional hostnames will
|
||||||
|
not help you.)</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<title>Multitouch Test</title>
|
<title>Multitouch Test</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<!--
|
<!--
|
||||||
This probably needs to be renamed index.html for deployment.
|
This probably needs to be renamed index.html for deployment.
|
||||||
@@ -5,8 +6,9 @@
|
|||||||
directory it is in.
|
directory it is in.
|
||||||
-->
|
-->
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
|
||||||
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
|
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
|
||||||
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>
|
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Navigation Control</title>
|
<title>OpenLayers Navigation Control</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map, layer;
|
var map, layer;
|
||||||
@@ -32,7 +34,11 @@
|
|||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
<a href="#" onclick="nav.enableZoomWheel();return false">Turn on Wheel Zoom</a> | <a href="#" onclick="nav.disableZoomWheel(); return false;">Turn off Wheel Zoom</a>
|
<a href="#" onclick="nav.enableZoomWheel();return false">Turn on Wheel Zoom</a> | <a href="#" onclick="nav.disableZoomWheel(); return false;">Turn off Wheel Zoom</a>
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
This example demonstrates a couple features of the Navigation control. The Navigation control controls most map dragging, movement, zooming, etc. In this case, we have a demonstration of how to create a navigation control with no zoom wheel action, which can then be enabled or disabled by the user.
|
<p>This example demonstrates a couple features of the Navigation
|
||||||
|
control. The Navigation control controls most map dragging, movement,
|
||||||
|
zooming, etc. In this case, we have a demonstration of how to create a
|
||||||
|
navigation control with no zoom wheel action, which can then be enabled
|
||||||
|
or disabled by the user.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>OpenLayers Navigation History Example</title>
|
<title>OpenLayers Navigation History Example</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<style>
|
<style>
|
||||||
#panel {
|
#panel {
|
||||||
right: 0px;
|
right: 0px;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user