Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»
The ZoomToRoadwayCommand allows you to input a roadway id and then zoom to that geometry on the map.


CommandVerb

zr

Parameters

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

Code Sample


$('#zoomToRoadway').click(function () {
  FDOT.Map.executeCommand('zr', { value: '42603853', highlight: true, buffer: 1.1 }, function () {});
});

See Also

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