The LeafletDrawingHandler class is an implementation of GraphicDrawingHandler for the leaflet drawing provider to use for user drawn geometry creation.
var map = new LeafletMap(); map.create("map", { initialXMin: -88.679196, initialYMin: 24.326418, initialXMax: -79.57153, initialYMax: 30.892178 }); var currentLeafletDrawingObject = new LeafletDrawingHandler("box", map, LeafletDrawingOptions.defaultOptions());
string
LeafletMap
LeafletDrawingOptions
Property currentShapeOptions LeafletDrawingOptions describe characteristics of shape to draw.
Stop drawing
Begin user drawing state
a Q.Promise of a drawn L shape object.
The LeafletDrawingHandler class is an implementation of GraphicDrawingHandler for the leaflet drawing provider to use for user drawn geometry creation.
var map = new LeafletMap();map.create("map", { initialXMin: -88.679196, initialYMin: 24.326418, initialXMax: -79.57153, initialYMax: 30.892178 });
var currentLeafletDrawingObject = new LeafletDrawingHandler("box", map, LeafletDrawingOptions.defaultOptions());