Files
openlayers/examples/navigation-controls.html
2016-05-17 10:24:21 +02:00

15 lines
462 B
HTML

---
layout: example.html
title: Navigation Controls
shortdesc: Shows how to add navigation controls.
docs: >
<p>This example shows how to use the <code>ol.control.ZoomToExtent</code> control.</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>