Select to view content in your preferred language

"SnapToLevels"  equivalent in JS API?

801
4
03-28-2013 12:32 PM
MeleKoneya
Frequent Contributor
In the Silverlight API Map Class , there is a Map.SnapToLevels property which

"Gets or sets whether zooming will snap to scale levels if the map contains cached layers".

I do not see the same property in the JS API,  but I was wondering if someone had found a way to zoom "in between" cached layers in a Tiled Map Service.

Thanks,

Mele
0 Kudos
4 Replies
JeffPace
MVP Alum
In the Silverlight API Map Class , there is a Map.SnapToLevels property which

"Gets or sets whether zooming will snap to scale levels if the map contains cached layers".

I do not see the same property in the JS API,  but I was wondering if someone had found a way to zoom "in between" cached layers in a Tiled Map Service.

Thanks,

Mele


I believe in the JS api this is not possible.  YOu must zoom to a level if there are tiled layers.
0 Kudos
ShaunWeston
Frequent Contributor
Is there a way in the Javscript API to zoom in beyond the cached levels, but still show the cache?
0 Kudos
OrenGal
Regular Contributor
I don't think so. If you have multiple cache layers you can 'jump' between the scales only of the bottom cache.
0 Kudos
JianHuang
Deactivated User
It will support it in the next release. It will allow you to go to higher levels where there are no data available. Please note, you also need tiled map service on arcgis server 10.2 in order to do this.

Is there a way in the Javscript API to zoom in beyond the cached levels, but still show the cache?
0 Kudos