Select to view content in your preferred language

Find & query

1228
11
07-19-2010 01:35 PM
TonyAlmeida
MVP Regular Contributor
I would like to query a layer, but also incorporate a find. Just like the "Find" and "Query attribute" examples but into one. Anyone have a simple one that's put together that you can share please?
0 Kudos
11 Replies
PaulLeedham
Deactivated User
In order to display all the fields use the following syntax:
Replace query.OutFields.AddRange(new string[] { "STATE_NAME", "POP07_SQMI" });
With query.OutFields.Add("*");

Have you considered using the feature data grid? Check out the ESRI sample--this is a great way to display this type of information.

Paul Leedham
http://gis.hudson.oh.us
0 Kudos
TonyAlmeida
MVP Regular Contributor
pleedham thanks and i have looked at that sample. My main object is to have something simuler to Baldwin County (http://isv.kcsgis.com/baldwinisv/). Where you have your basic zoom out, zoom in, pan, zoom to full extents, zoom forward, zoom previous. Then if you click on tools/settings icon, it gives a new set of tools like find, locate address, identify, measure, buffer and select parcels. Pretty much the same tools as that silverlight application. I am new to silverlight and i am learning a whole hell of allot. The city of Hudson interactive mapper (http://gis.hudson.oh.us/HudsonGIS93/) is awesome! Was it made with silverlight or with ArcGIS Server Manager?
0 Kudos