Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»
The ZoomToDistrictCommand allows you to input a district and then zoom to that geometry on the map.


CommandVerb

zd

Parameters

NameTypeDescription
ValuestringIs the name of the district to zoom to.
HighlightboolHighlights geometry
BufferdoubleExpands geometry on map by a certain amount

Code Sample


$('#zoomToDistrict').click(function () {
  FDOT.Map.executeCommand('zd', { value: 'Sixth', highlight: true, buffer: 1.1 }, function () {});
});

See Also

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