Select to view content in your preferred language

cache service will automatically change into the world map of ArcGIS online

1955
2
03-20-2013 07:32 AM
SherryHuang
Emerging Contributor
Hi all,
I am using ArcGIS Server 10.1 and the Flex API 3.1.
When I want to load my basemap service, it will automatically change into the world map of ArcGIS online.
(http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer)
I might succeed to load my own service once out of several times.
I don't know why. Because in my script, I don't point any url related to this link.
Does anyone have the same issue like me?
BTW, the basemap services works just fine when using the Flex API 2.4.
It only happened when I ues API 3.1.
Thank you.

Best,
Sherry
Tags (2)
0 Kudos
2 Replies
RhettZufelt
MVP Notable Contributor
Have you set addarcgisbasemaps="false" in the map tag of your config.xml?

This could be where it is getting it from, but if so, you should see several options under the basemaps button.

R_
0 Kudos
DasaPaddock
Esri Regular Contributor
That's the default for the ArcGISTiledMapServiceLayer.url property:
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISTiledMapServiceLayer.h...

Are you setting the url to another value?
0 Kudos