Hi
I am trying to load a shapefile on locallayer. I would like to select a feature from the loaded map (symbol/polygon/line etc) by clicking the mouse and highlight it. Is it possible to launch the infopopup dialog with the feature details ?
Thanks and Regards
Hi Rex,
Nope, won't work yet. You can probably roll your own way of selecting a feature, getting the attributes you need from the feature, then popping up a report of the values for the end user. But, this will be achievable in the next major release of the API, Quartz.
Thanks Eric,
I am able to manage it with HitTest on the feature layer and querying the feature details.
Meanwhile I have another issue with the same sample (ShapefileApp). The Coasts.shp and mjrroads.shp files are not getting displayed. Is there something i am missing ??
Is your local server initializing ok? If that hiccups somewhere, the files won't display. Let us know
Yes, Infact I am able to display the Continents shape file without any problem.
Sorry. Forgive me for my local server question, of course you're reading the shapefile with ShapefileFeatureTable, not LocalServer fortunately.
Make sure your renderer is explicitly defined, or the shapefile will not display on the map.