Table of Contents [Hide/Show]
CommandVerbParametersCode SampleReturnsUsageSee Also
FDOT.Map.executeCommand('locate', { StreetAddress: '605 Suwannee Street', City: 'Tallahassee', State: 'FL', ZipCode: '' }, onLocateCompleted);
AddressLocatorResult |_Result |_FeatureType |_Id |_Name |_Description |_GroupName |_Attributes (AttributeDescription []) |_ |_Name |_Description |_Type (.Net System.Type) |_IsIdentifier |_IsDisplayValue |_Features (Feature[]) |_ |_HasDescription |_Geometry |_SpatialReference |_X |_Y |_Points [][] |_Paths [][][] |_Rings [][][] |_XMin |_XMax |_YMin |_YMax |_Radius |_Attributes |_ |_Key (AttributeDescription) |_Name |_Description |_Type |_IsIdentifier |_IsDisplayValue |_Value |_DisplayValues |_ |_Address |_Score |_Side
var addressLocatorResult = a.Result; var features = addressLocatorResult.Features; if (features.length > 0) { var geometry = features[0].Geometry; FDOT.Map.executeCommand('zoomToGeometry', { Geometry: geometry }, function () { }); }