Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

problem with MapSwitcher widget

$
0
0
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 Code:

<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>

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

Viewing all articles
Browse latest Browse all 2097

Trending Articles