Files
openlayers/examples/navigation-controls.html
2015-11-18 09:56:15 -07:00

16 lines
482 B
HTML

---
layout: example.html
title: Navigation Controls
shortdesc: Shows how to add navigation controls.
docs: >
<p>This example shows how to use the beforeRender function on the Map to run one
or more animations.</p>
<p>The following navigation controls are added to the map:</p>
<ul>
<li><code>ol.control.Zoom</code> (added by default)</li>
<li><code>ol.control.ZoomToExtent</code></li>
</ul>
tags: "control, navigation, extent"
---
<div id="map" class="map"></div>