Select to view content in your preferred language

Can't zoomIn past a certain scale...

738
3
12-17-2012 08:15 AM
ShawnCarson
Regular Contributor
Everyone,

I am using a Bing Map as my base map (image).

There seems to be a built in limit that doesn't allow me to zoom in as far as I would like to with this basemap. No problem.

I have my own map service that contains an image (cached mapservice)  that I would like the user to select if they really need to zoom in super-tight. (Bing gets removed, my service with image gets added...)

PROBLEM/QUESTION:
Once I initially add the  Bing Map, I still can't zoom in tight when I switch out the Bing Map and add  my own service that contains the image. If I use my service with my image on init() I am free to zoom in as tight as I want. If I Start out with BingMap (or OpenStreetMap for that matter), it seems I am forever limited on my zoomin....

Does anyone have any advice on this?

Thanks and Merry Christmas Everyone,

Shawn


js 3.2
ArcGIS 10.1
VS 2010
0 Kudos
3 Replies
JeffPace
MVP Alum
when you create map with bing, the map gets defaulted to bing's scales.  You have two options

1. Create map with custom LODs as a parameter
2. Add your custom map first, so the map gets its LODs, then add the bing map.
0 Kudos
ShawnCarson
Regular Contributor
Jeff - Thanks I think you solved this for me. I still have to get my code in order but but from what I have done so far this looks like the way to go.

Many many thanks...
0 Kudos
JeffPace
MVP Alum
Glad to help.

If you wouldnt mind marking my post as the answer, that would be appreciated.
0 Kudos