The selectPolygon method enables geometry selection mode for the map. Once the user completes their selection on the map the callback function will be executed passing in the selected geometry.
Example
javscript
FDOT.Map.selectPolygon(function(geometry) {
FDOT.Map.executeCommand("draw", { DrawingObjects : [ geometry ] });
});
See Also