Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

ZoomToWorkProgramItem

RSS
Modified on Wednesday, 13 July 2011 11:34 AM by 156.75.200.122 Categorized as Commands
The ZoomToWorkProgramItemCommand allows you to input the item and item segment of a project and then zoom to that geometry on the map.


CommandVerb

zwp

Parameters

NameTypeDescription
ValuestringIs the item/item segment of the project to zoom to.
HighlightboolHighlights geometry
BufferdoubleExpands geometry on map by a certain amount

Code Sample


$('#zoomToWpItem').click(function () {
  FDOT.Map.executeCommand('zwp', { value: '4252801', highlight: 'true', buffer: 2.0 }, function () {});
});

See Also

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