Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

FDOT.Map.selectPolygon

RSS
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

Any Questions or Comments? Email
Some of the icons created by FamFamFam.