string
string
string
Property currentDrawingObject LeafletDrawingHandler
Property currentDrawingObject LeafletDrawingHandler
Property drawingOptions LeafletDrawingOptions
Property drawingOptions LeafletDrawingOptions
Property id string is this provider identifier
Property id string is this provider identifier
Property map LeafletMap
Property map LeafletMap
Stop the current drawing operation; rejects the promise
Stop the current drawing operation; rejects the promise
Stop the current drawing operation; rejects the promise
Begin allowing user to draw specified shape.
string (point, box, line, polygon, circle)
Q.Promise of the new MapGraphic.
Begin allowing user to draw specified shape.
string (point, box, line, polygon, circle)
Q.Promise of the new MapGraphic.
Begin allowing user to draw specified shape.
string (point, box, line, polygon, circle)
Q.Promise of the new MapGraphic.
The LeafletDrawingProvider class is an implementation of GraphicDrawingProvider.
var map = new View.LeafletMap(); map.create("map", { initialXMin: -88.679196, initialYMin: 24.326418, initialXMax: -79.57153, initialYMax: 30.892178 }); var leafletDrawingProvider = new LeafletDrawingProvider('default', map);