@nycplanning/ember-mapbox-gl-draw
v2.1.0
Published
Ember addon to import mapbox-gl-draw.
Downloads
15
Readme
ember-mapbox-gl-draw
Ember addon to import the mapbox-gl-draw control. Also provides a helper to create draw controls in templates.
Installation
ember install ember-mapbox-gl-draw
Example
{{#mapbox-gl as |map|}}
{{map.control (draw-control touchEnabled=true) 'top-left'}}
{{/mapbox-gl}}
Notes
Global options for draw controls may also be added to a mapbox-gl-draw
object in config/environment.js
.