Improving example documentation.

This commit is contained in:
ahocevar
2012-02-14 00:14:15 +01:00
parent ce71a5a3fd
commit fe0bc333ca

View File

@@ -18,14 +18,16 @@
</p>
<div id="map" class="smallmap"></div>
<div id="docs">
<p>
A Grid layer with a custom <code>getURL</code> method can be
<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 this is
limited to 1000 page views per viewer. Every map center or zoom
level change increases the page view counter by 1.
limited to 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.
</div>
<script src="../lib/OpenLayers.js"></script>
<script src="google-static.js"></script>