Disable button to chage map base until cache level of availability it hit on current

676
1
07-15-2010 02:20 AM
AndyBurns
Occasional Contributor
Hi

We would like to disable a button (button to swop map bases) until a certain lod has been hit (where the other map base has been cached and is viewable)

We have 2 map base services however one is only cached up to 1:25k. The other is up to 1:500k etc so we would like to disable this button to swop map bases until the level (1:25k) has been hit on the first map base. Any ideas?

thanks
0 Kudos
1 Reply
derekswingley1
Frequent Contributor
List to the map's onExtentChange event, figure out the map's scale and enable/disable your base map switching buttons based on the scale.
0 Kudos