The Enhanced Locate allows you to locate locations on the map based on user inputs.
The Enhanced Locate serves as a means to locate locations on the map using addresses, coordinates, or to click on the map and inspect the address (reverse Geocode). You can configure multiple coordinate units with different coordinate systems like WGS84 DMS, WGS84 DDM, State Plane Coordinates, UTM, Etc.
The following steps indicate how to create a identify layer. Repeat these steps if you need to define multiple identify layers.
The configuration window for this widget opens.
A file explorer window opens allowing you to browse to a local image file to use as the widget icon.
The new locator dialog opens. Now enter the URL of the service and click Validate.
If you enter 4326 for the WKID then some additional options will appear in the dialog.
These additional controls allow you to specify if the lat lon WGS 84 coordinates will be entered as Degrees Minutes Seconds (DMS), Decimal Degrees (DD), Degrees Minutes (DM), or Degrees Decimal Minutes (DDM).
This will set which tab will be selected and has focus when the widget opens.
The Default Zoom Scale is used when zooming to locate results that are point geometry.
The Force Scale is used to specify if only the map will be zoomed back out to the default zoom scale if the map is already zoomed beyond that scale.
The WKID for coordinates displayed in popup is used to specify the coordinate text that is added to the popup for address inspection and locate address. This allows you to specify that you want theis coordinate text to be in a WKID different from the maps WKID.
The Keep address inspector tool active after each address inspection option specifies that when an address inspection is completed that the drawing tool will remain active and will not be automatically disabled. This feature allows you to continue to inspect addresses on the map without having to re-select each time.
Enable Mouse Over Graphic Info Windows will allow the maps info window to appear when you hover the mouse over the result graphic in the map.
Enable Mouse Over Result Info Windows will display the maps info window when you hover the mouse over the locate result in the widgets results UI.
The default symbology dialog opens, allowing you to choose the images for the locate type result symbols.
The disable tab(s) dialog opens, allowing you to choose the tabs that will be disabled in the widgets UI.
Clicking the Enhanced Locate in your application displays the widget. Depending on the Initial View choice that was made during configuration the configured tab will be selected.
The Results view lists all the located features and thier attributes (dependant on the locate type).