Select to view content in your preferred language

Widget to zoom to State and County

567
2
11-24-2010 06:28 AM
BarbaraPatterson
Emerging Contributor
I'm wondering if anyone has created a widget that allows a user select State and County from two comboboxes and then zoom to the result. I did find code that Robert Scheitlin posted but it was for flex api 1.3.

Thanks,

Barb Patterson
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Barb,

   Doubt that I will have time today but can you post the link to my 1.3 code. I have been coding and posting for years now and don't remember all the code I put out there.
0 Kudos
DavidTreat
Emerging Contributor
I'm wondering if anyone has created a widget that allows a user select State and County from two comboboxes and then zoom to the result. I did find code that Robert Scheitlin posted but it was for flex api 1.3.

Thanks,

Barb Patterson



Barb,

This is not precisely what you are looking for, but my query-based bookmark widget may give you a good start:
http://www.arcgis.com/home/item.html?id=4643fd05f8c34264aef6f4e1ed37b406

You configure this widget with the url of a Map Service to query, the name of an attribute to query, and a list of values that make up the bookmarks.  I used to to zoom to any town in my state by providing a list of town names as the list of values, and querying a Map Service that is based on a political bounds feature layer.

Dave
0 Kudos