Select to view content in your preferred language

Zoom To Feature in Dynamic Map Service Layer

645
1
10-03-2011 12:29 PM
KeithSandell
Regular Contributor
Is there a way to do this with a dynamic map layer?

I can do it all day long with a feature layer because the geometry is exposed. get the extent, center the map, set the scale kind of thing...

I want to use a dynamic map layer in this case because the users have no need for the geometry, and dynamic map layers render faster.

I really do not want to have a dynamic map layer and feature layer to get the rendering and the zoom control, I would prefer just one.

Thoughts?

Thanks
0 Kudos
1 Reply
derekswingley1
Deactivated User
How about using a queryTask to get your geometry from a layer in your dynamic map service?
0 Kudos