Select to view content in your preferred language

Three (or four) base layers, none of them arcgis online default layers.

1279
7
10-26-2010 06:28 AM
jameshawks
Deactivated User
I want to have thee (for now, may try four if this works) base layers. All of them are dynamic and the same projection. I don't wan't any of the ags online default layers (streets, topo, imagery). There's plenty of other places to get those views, besides my overburdened site. I can get my three base layers to show, but if I comment out all the default base layers, the site breaks.
Tags (2)
0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus
James,

   Are you making sure you change the initial extent values of the map to match your basemaps coordinates?
0 Kudos
jameshawks
Deactivated User
Yes, I think. I modified the initial extent but kept it in the same format.

<map initialextent="-15083000 3139000 -4779000 5458000" top="40">
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   If you go to your REST Service directory for your largest base map service are those similar to the ones listed there for the initial extent?
0 Kudos
jameshawks
Deactivated User
hmm no those are this format:

Initial Extent:
XMin: -77.06190689709936
YMin: 33.39085275237296
XMax: -57.931040410223915
YMax: 51.42716717656648
Spatial Reference: 4326

Initial Extent:
XMin: -159.70283644018508
YMin: 5.917255388422404
XMax: -44.414534502768305
YMax: 78.0625130851965
Spatial Reference: 4326

Initial Extent:
XMin: -172.4516129032258
YMin: -5.05527154617904
XMax: -52.6384872080089
YMax: 92.29289308118469
Spatial Reference: 4326
0 Kudos
jameshawks
Deactivated User
Okay I'm close. Adding decimal points to the initial extent allows me to see the 3 base layers. However the zoom slider isn't fully functional now. It's collapsed and lost it's ticks. See image.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

    Yep that is expected as the zoom slider only displays tick for map services that are tiled/cached and your are dynamic right now.
0 Kudos
jameshawks
Deactivated User
Okay. Well that's more incentive to go tiled. I gotta say I don't much about it yet, research time.

For the next trick, I want to swap the layer list as the user swaps services. That sounds tricky, at best.
0 Kudos