Select to view content in your preferred language

can scalebar be used in dynamicMapServiceLayer?

623
1
10-18-2010 04:07 AM
DanDong
Deactivated User
Hi all,

I use scalebar in TileMapServiceLayer, both the scalebar and map layers load well. But after I change the mapservice to DynamicMapServiceLayer, the scalebar and map layers both can't be loaded. Are there any advice in this problem. Thank you!
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Wire up to the Map's ExtentChanged event to see if the Map changes Extent. Does the map extent change? See if adding an initial extent to the map makes a difference.
0 Kudos