Select to view content in your preferred language

How to change the default basemap to Bing Street Map ?

1944
3
07-26-2011 03:28 AM
JoyceWen
Emerging Contributor
Hello ,
Any body know how to do this ?
I don't know how to replace the ArcGISTileLayer Element in the defaultConfiguration XML file.

<e:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" cal:LayerProps.IsBaseMapLayer="True" cal:LayerProps.Title="Streets"/>

Thanks for all 🙂
0 Kudos
3 Replies
RonnieRichards
Frequent Contributor
This help page has a nice write up for the defaultconfiguration.xml. If you do not have a default .xml editor on your system, you can save the file, change it in notepad and upload it back to the document library. Then rename the original and change your new file to the defaultconfiguration.xml

http://help.arcgis.com/en/webapps/sharepoint/help/DefaultConfiguration.html

The bing maps and other url's can be found in the basemaps list
http://dev.virtualearth.net/webservices/v1/metadata/imageryservice/imageryservice.wsdl

Thanks
Ronnie
0 Kudos
JoyceWen
Emerging Contributor
Hello Ronnie ,

[INDENT][/INDENT]Thank you for your reply . I've tried to change the configuration xml like the following .
However I got error message (JSON Error....). The help page do have an example showing how to change the basemap to ArcGIS tiled service . But I want to change it to Bing map .
Would you give me some further advice ? Thanks .

<?xml version="1.0" encoding="utf-8"?>
<e:Map xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:e="http://schemas.esri.com/arcgis/client/2009"
xmlns:esriMapping="http://schemas.esri.com/arcgis/mapping/2009"
xmlns:cal="clr-namespace:Five20;assembly=Cal.Silverlight">
<esriMapping:ScaleBarExtensions.ScaleBarMapUnit>Meters</esriMapping:ScaleBarExtensions.ScaleBarMapUnit>
<e:Map.Extent>
<e:Envelope XMin="-16334576.8010418" YMin="699595.291282528" XMax="-6812752.83654833" YMax="7913098.29468664">
<e:Envelope.SpatialReference>
<e:SpatialReference WKID="102100" />
</e:Envelope.SpatialReference>
</e:Envelope>
</e:Map.Extent>
<e:ArcGISTiledMapServiceLayer Url="http://dev.virtualearth.net/webservices/v1/imageryservice/imageryservice.svc" cal:LayerProps.IsBaseMapLayer="True" cal:LayerProps.Title="Bing Streets"/>
</e:Map>
0 Kudos
NicoleGuglielmi
Deactivated User
Did you ever get this resolved?  If so, can you please post the solution?
0 Kudos