Extent interaction example

This commit is contained in:
Torben Barsballe
2016-08-26 08:38:57 +02:00
parent 7ed96f69f7
commit 4b2884f10f
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
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>