Select to view content in your preferred language

Advice needed zooming to features filtered with layerDefinitions

810
2
10-19-2010 04:13 AM
AndrewClark
Deactivated User
As it states in the subject - using layerDefinitions to retain the layer symbology, but need to zoom to to extent of the objects filtered, without using a QueryTask to make a secondary call to get features to zoom to.
0 Kudos
2 Replies
rajeshmanam
Emerging Contributor
I think this is somewhat complicated, in my view you need to work on two areas
1. extend the existing 'ArcGISDynamicMapServiceLayer' add your method to get store the MBR coordinated which require for zooming or
2. try to work on layupdate events.

just idea to start with, i think this may help you.
0 Kudos
AndrewClark
Deactivated User
Ended up using a Find Task, which appeared to give me reasonable performance.
0 Kudos