Select to view content in your preferred language

center map on layer extent

5204
10
Jump to solution
01-13-2014 08:23 AM
MaxDemars
Deactivated User
Hello,

Im new to the arcgis javascript api and I cant find answer to my question. esri.map seems to only have centerAt(mapPoint) method but how to center the map on a ArcGISDynamicMapServiceLayer extent not on a point?

Thank you
0 Kudos
10 Replies
KenBuja
MVP Esteemed Contributor
Glad to help. Definitely read up on the events topic in the documentation.

And don't forget to click the check mark on the post that answered your question. It will help others searching for this same answer in the future.
0 Kudos