Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Locate Widget: configure to default City and State

$
0
0
Hello,

I'm trying to default the City and State to the Locate widget but I have not had any luck with results. ANy suggestion on what maybe incorrect on this config.

Thanks

<?xml version="1.0" ?>
<configuration label="U.S. Geocoding">
<usesingleline>true</usesingleline>
<locator>http://tasks.arcgisonline.com/ArcGIS/rest/services/Locators/TA_Streets_US_10/GeocodeServer</locator>
<fields>
<field name="City" defaultvalue="orange"/>
<field name="State" defaultvalue="ca"/>
</fields>
<minscore>40</minscore>
<zoomscale>10000</zoomscale>
</configuration>
Attached Thumbnails
Click image for larger version

Name:	Find address.JPG‎
Views:	N/A
Size:	17.8 KB
ID:	24918  

Viewing all articles
Browse latest Browse all 2097

Trending Articles