Welcome
Guest
, you are in:
<root>
EnterpriseLibrary
FDOT Security STS
FDOT_Application_Model
GisFramework
•
Login
FDOT Wiki
GisFramework
¶
Gis Framework
Fdot Wiki
Random Page
All Pages
Categories
Search the wiki
»
Back
GetAddressLocationsCommand
Modified on Wednesday, 12 October 2011 02:07 PM
by 156.75.200.43
Categorized as
Uncategorized
Gets locations for an address. {toc} ==CommandVerb== "locate" ==Parameters== {| class="tablesorter" ! Name !! Type !! Description |- | StreetAddress || string || The street address being located |- | City || string || The city for the address being located |- | State || string || The state for the address being located |- | ZipCode || string || The zipcode for the address being located |- | HighlightHighestScore || bool || Highlight the highest score. |} ==Code Sample== <pre>FDOT.Map.executeCommand('locate', { StreetAddress: '605 Suwannee Street', City: 'Tallahassee', State: 'FL', ZipCode: '' }, onLocateCompleted);</pre> ==Returns== <pre> 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 <nowiki>[][]</nowiki> |_Paths <nowiki>[][][]</nowiki> |_Rings <nowiki>[][][]</nowiki> |_XMin |_XMax |_YMin |_YMax |_Radius |_Attributes |_ |_Key (AttributeDescription) |_Name |_Description |_Type |_IsIdentifier |_IsDisplayValue |_Value |_DisplayValues |_ |_Address |_Score |_Side </pre> ==Usage== <pre> var addressLocatorResult = a.Result; var features = addressLocatorResult.Features; if (features.length > 0) { var geometry = features<nowiki>[0]</nowiki>.Geometry; FDOT.Map.executeCommand('zoomToGeometry', { Geometry: geometry }, function () { }); } </pre> ==See Also== {incoming}
Meta Keywords:
Meta Description:
Change Comment:
Any Questions or Comments? Email
GIS Framework Development Team
Some of the icons created by
FamFamFam
.