AnsweredAssumed Answered

zoomToFullExtent for dynamic layer when basemap is available

Question asked by bforbhavin on Jul 27, 2015
Latest reply on Jul 27, 2015 by rscheitlin

I create map with basemap and then add mapservice as a ArcGISDynamicMapServiceLayer in my code.


I have coded as given in following example for zoomToFullExtent.

Map navigation tools | ArcGIS API for JavaScript


The issue here is a basemap layer is added first so, if I use navToolbar.zoomToFullExtent then basemap layer's full extent is calculated and displayed. Is there any way to show dynamic layer's full extent when basemap is available?