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/google-static.html | |
parent | 59741cd535c47f25971bf8c32b25da25ceadc6d5 (diff) | |
download | postrunner-ea346a785dc1b3f7c156f6fc33da634e1f1a627b.zip |
Adding jquery, flot and openlayers to be included with the GEM.v0.0.4
Diffstat (limited to 'misc/openlayers/examples/google-static.html')
-rw-r--r-- | misc/openlayers/examples/google-static.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/misc/openlayers/examples/google-static.html b/misc/openlayers/examples/google-static.html new file mode 100644 index 0000000..d35efb0 --- /dev/null +++ b/misc/openlayers/examples/google-static.html @@ -0,0 +1,39 @@ +<!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 Google (Static Maps API) Grid Layer Example</title> + <link rel="stylesheet" href="../theme/default/style.css" type="text/css"> + <link rel="stylesheet" href="style.css" type="text/css"> + </head> + <body> + <h1 id="title">Google (Static Maps API) Grid Layer Example</h1> + <div id="tags"> + Google, grid, static, GMaps, light + </div> + <p id="shortdesc"> + Using the Google Static Maps API with a Grid Layer. + </p> + <div id="map" class="smallmap"></div> + <div id="docs"> + <p>A Grid layer with a custom <code>getURL</code> method can be + used to request static maps for a specific extent and zoom + level. The Google Static Maps API is the most reliable way to + get Google base maps in OpenLayers. Note, however, that the + free version of this is limited to a map size of 640x640 pixels + (1280x1280 if the <code>scale=2</code> url parameter is used) + and 1000 page views per viewer per day. Every map center + or zoom level change increases the page view counter by 1. + </p> + <p>Look at the + <a href="google-static.js" target="_blank">google-static.js + source</a> to see how this is done. See the + <a href="http://code.google.com/apis/maps/documentation/staticmaps/">Static Maps API V2 Developer Guide</a> + for details on the API. + </div> + <script src="../lib/OpenLayers.js"></script> + <script src="google-static.js"></script> + </body> +</html> |