Hello, i'm trying to make a new little widget wich could redraw the zoomslider when the user switch to another basemap as tiled service having different LODs (Level Of Details) or to a dynamic map service.
When AppEvent.BASEMAP_SWITCH is dispatched, the widget replace map.lods with the new basemap lods, or remove lods if the new basemap is a dynamic map service, and then share data with the navigation widget to redraw the zoomslider.
It works when switching from a tiled service to another tiled service, but when switching to a dynamic service, an error occurs : a null reference object in Navigation/map_extentChangeHandler()
*** can be tested here *** When switching street to Aerial, you can see the zoom slider redrawed correctly and the error when switching to Lousville Lands
If anyone have an idea, it would preserve my head ... stop banging the wall 😃