Select to view content in your preferred language

problem with MapSwitcher widget

855
4
Jump to solution
11-06-2012 12:20 AM
francescodi_vito
Deactivated User
Hi guys,
i have a problem with MapSwitcher widget.
With this widget i see all basemap of arcgis online. I would like to see not all base map and so i changed the config.xml file in this way[HTML]
<map esrilogovisible="false" wraparound180="true" initialextent="-68000 4653000 2867000 5553000"  fullextent="-1659000 4357000 4211000 6157000" top="0" addarcgisbasemaps="false">
        <basemap>
        <layer label="Streets" type="tiled" visible="true" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
        <layer label="Aerial" type="tiled" visible="false" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>
        <layer label="Topo" type="tiled" visible="false" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
        </basemap>
[/HTML]

i set addarcgisbasemap on false and insert tree basmap, but when i run my webapp i don't see a map.
Any help please?
Goodbye
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MarcinDruzgala
Frequent Contributor
Map Switcher widget tag reference
Search for "<showthumbnails>" tag. Dont know if this is what you are asking for, maybe you are asking about icons in basemap gallery?

MDruzgala

View solution in original post

0 Kudos
4 Replies
MarcinDruzgala
Frequent Contributor

<map esrilogovisible="false" wraparound180="true" initialextent="-68000 4653000 2867000 5553000"  fullextent="-1659000 4357000 4211000 6157000" top="0" addarcgisbasemaps="false">
        <basemaps>
        <layer label="Streets" type="tiled" visible="true" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
        <layer label="Aerial" type="tiled" visible="false" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>
        <layer label="Topo" type="tiled" visible="false" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
        </basemaps>


Try this?

Cheers
MDruzgala
0 Kudos
francescodi_vito
Deactivated User
thanks MDruzgala,
without "s"........ no maps 😄
But i don't see the thumbnails can you helpme?
Thanks
0 Kudos
MarcinDruzgala
Frequent Contributor
Map Switcher widget tag reference
Search for "<showthumbnails>" tag. Dont know if this is what you are asking for, maybe you are asking about icons in basemap gallery?

MDruzgala
0 Kudos
francescodi_vito
Deactivated User
thanks
goodbye
0 Kudos