diff options
author | Chris Schlaeger <chris@linux.com> | 2014-08-12 21:56:44 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-08-12 21:56:44 +0200 |
commit | ea346a785dc1b3f7c156f6fc33da634e1f1a627b (patch) | |
tree | af67530553d20b6e82ad60fd79593e9c4abf5565 /misc/openlayers/examples/web-mercator.html | |
parent | 59741cd535c47f25971bf8c32b25da25ceadc6d5 (diff) | |
download | postrunner-0.0.4.zip |
Adding jquery, flot and openlayers to be included with the GEM.v0.0.4
Diffstat (limited to 'misc/openlayers/examples/web-mercator.html')
-rw-r--r-- | misc/openlayers/examples/web-mercator.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/misc/openlayers/examples/web-mercator.html b/misc/openlayers/examples/web-mercator.html new file mode 100644 index 0000000..cfa307f --- /dev/null +++ b/misc/openlayers/examples/web-mercator.html @@ -0,0 +1,50 @@ +<!DOCTYPE HTML> +<html> + <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="apple-mobile-web-app-capable" content="yes"> + <title>OpenLayers: Web Mercator</title> + <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="../lib/OpenLayers.js"></script> + <script src="web-mercator.js"></script> + </head> + <body onload="init()"> + <h1 id="title">OpenLayers Spherical Mercator Example</h1> + + <div id="tags"> + sperical, mercator, epsg, projection + </div> + <p id="shortdesc"> + Shows the use of layers in spherical or web mercator using different + EPSG codes to indicate the same projection. + </p> + <div id="map" class="smallmap"></div> + <div id="docs"> + <p> + A number of mapping services support the spherical or web + mercator but use different EPSG codes to identify it. ArcGIS + server version 9.3 uses EPSG:102113 to represent the same SRS + that OpenLayers typically refers to by EPSG:900913. + </p><p> + To configure a map with a WMS layer overlaid on a Google layer + where the WMS uses EPSG:102113 to refer to the web mercator + projection, the Google layer must be constructed with this + projection code in its options (it is not sufficient to + construct the map with this projection). + <p> + If your application needs to transform coordinates to and from + EPSG:102113, you must add custom transforms as well. + </p><p> + See the <a href="web-mercator.js" target="_blank">web-mercator.js</a> + source for details. + </p> + </div> + </body> +</html> + + + |