FDOT.Map.selectPolygon

Modified on Wednesday, 15 June 2011 09:34 AM by 156.75.200.125 — Categorized as: Javascript

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.

Table of Contents [Hide/Show]


Example

 javscript
FDOT.Map.selectPolygon(function(geometry) {
	FDOT.Map.executeCommand("draw", { DrawingObjects : [ geometry ] });
});

See Also