AnsweredAssumed Answered

Zoom to layer option in MapLayer

Question asked by Muqitzoarder111 on Apr 15, 2016
Latest reply on Apr 15, 2016 by Muqitzoarder111

Dear all, i have 25 layers in a MapService which are from different parts of a country. I have created a ArcGIS Javascript API application to view the all 25 map layer together and also the feature informtation by click event. Now the problem is i want to add "zoom to layer" option in each layer. Because the whole dataset is belogns to a country scale and i cannot even see all te layers now in the map extent. So I want to add a option in each layer , like the arcGIS online, if i click on zoom to layer then the particular layer extent will come. Please help me out from this problem.

 

Thanking you

 

Regards

Outcomes