Show cache map at all scales

2557
3
03-10-2016 04:53 AM
ModyBuchbinder
Esri Regular Contributor

When the first layer you load into the map is tiles map the zoom levels will be defined by that tile map.

This can be over write by the LODS (on the map) that let you zoom to different scale but the tiles map does not show.

In my case I have a cache define and build for 100000 only.

In my map lods I defined 100000 and 50000 and 25000

I can zoom into these scales but the cache does not show.

How do I make the tile layer resample into these levels?

I tried

"resampling: true"

but it does not work.

Any ideas?

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Mody,

  This is not possible to my knowledge. If your Cached map service is only cached for 100000 then there is no tiles to show at 50000 or 25000 and there is no option to just resample at the lower scales. You could tray to add the map service again as a ArcGISDynamicMapServiceLayer and set its max scale to 50000 and also set your ArcGISTiledMapServiceLayers minScale to 1000000. That way the tiled one will switch off and the dynamic one will take over.

0 Kudos
ModyBuchbinder
Esri Regular Contributor

Hi Robert

When you add this layer to ArcMap it will show in all scales.

Why does the JS behave different?

RobertScheitlin__GISP
MVP Emeritus

Because ArcMap will draw the layer dynamically and is not constrained to the LODs of the cache.