Rename drag-features example to custom-interactions
This commit is contained in:
14
examples/custom-interactions.html
Normal file
14
examples/custom-interactions.html
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
template: example.html
|
||||
title: Custom interaction example
|
||||
shortdesc: Example of a custom interaction.
|
||||
docs: >
|
||||
This example demonstrates creating a custom interaction by subclassing `ol.interaction.Pointer`.
|
||||
Note that the built in interaction `ol.interaction.Translate` might be a better option for moving features.
|
||||
tags: "drag, feature, vector, editing, custom, interaction"
|
||||
---
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div id="map" class="map"></div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user