openlayers
Version:
Build tools and sources for developing OpenLayers based mapping applications
13 lines (12 loc) • 484 B
HTML
layout: example.html
title: Extent Interaction
shortdesc: Using an Extent interaction to draw an extent.
docs: >
<p>This example shows how to use an <code>Extent</code> interaction to draw a modifiable extent.</p>
<p>Use <code>Shift+Drag</code> to draw an extent.
<code>Shift+Drag</code> on the corners or edges of the extent to resize it. <code>Shift+Click</code> off the extent to remove it.
</p>
tags: "Extent, interaction, box"
<div id="map" class="map"></div>