Select to view content in your preferred language

Cached services with different levels - 'level not available' message?

697
4
Jump to solution
02-15-2012 02:14 AM
ChrisBuckmaster1
Deactivated User
Hi

I have 3 cached map services; two have 8 cached scale levels but one only has 3 (they all use the same scale levels so I can combine them all in one map).

Ideally what I would like to do is if the user chooses the one that only has the 3 levels, if they are zoomed out too far I want a tile to be shown that says 'level not available' or something along those lines.

I have looked at the following knowledge base article:-

http://support.esri.com/en/knowledgebase/techarticles/detail/36939

I am not sure if this just relates to tiles missing within the cached levels or not - I have added the 'missing.jpg' image to the layers folder for my cached serservice which has the 3 levels but if I zoom out to say level 5 the missing tile image is not showing up.

Anyone have any ideas?

Thanks
0 Kudos
1 Solution

Accepted Solutions
derekswingley1
Deactivated User
No worries. I think you can do this if you change your map service with three levels to have eight levels. You would then specify "missing.jpeg" for your other scales.

View solution in original post

0 Kudos
4 Replies
derekswingley1
Deactivated User
This is a server question, your best bet is to post in that forum:  http://forums.arcgis.com/forums/8-ArcGIS-Server-General

That being said, is your map service with three cache levels configured for three scales or eight scales?
0 Kudos
ChrisBuckmaster1
Deactivated User
Sorry Derek, thought as it relates to a Javascript API I would post in here.

The map service with 3 scales is configured for just 3 scales (500, 1000, 2000). The other two are configured for the scales: 500, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 100000.
0 Kudos
derekswingley1
Deactivated User
No worries. I think you can do this if you change your map service with three levels to have eight levels. You would then specify "missing.jpeg" for your other scales.
0 Kudos
ChrisBuckmaster1
Deactivated User
Top stuff that worked, thanks Derek!
0 Kudos