Bing Maps

834
6
03-08-2011 12:05 AM
francescodi_vito
New Contributor
Hi guys,
i have a question. Is it possible to use a Bing Maps in Flex Viewer 2.2? Where is a link that i can see for this case?
Thanks
Tags (2)
0 Kudos
6 Replies
BjornSvensson
Esri Regular Contributor
Yes, you can use Bing maps.  There is a live sample for it at http://help.arcgis.com/en/webapps/flexviewer/live/index.html?config=../samples/config-bing.xml

You need to specify the bing key in the main configuration file and then add the layer of type bing.

Ex 1:
<bing key="_thiscouldbeyourkey_Al0VE-H1tC0tk-eRubZv_EmyM6WZGqAsTyKS8G-WwCGK3"/>
See http://help.arcgis.com/en/webapps/flexviewer/help/index.html#mainconfig.htm


Ex 2:
<layer label="Streets" type="bing"/>
See http://help.arcgis.com/en/webapps/flexviewer/help/index.html#layer_tag.htm
0 Kudos
francescodi_vito
New Contributor
thanks bjorn,
but i need add a tag type of bing map in <basemap> without URL?
0 Kudos
BjornSvensson
Esri Regular Contributor
The Bing type does not require a url.  Here's the direct link to the main configuration file (for the Bing sample):
http://help.arcgis.com/en/webapps/flexviewer/samples/config-bing.xml
<basemaps>
    <layer label="Streets" type="bing" visible="false" style="road" culture="en-US"/>
    <layer label="Aerial" type="bing" visible="true" style="aerial" culture="en-US"/>
    <layer label="Aerial with labels" type="bing" visible="false" style="aerialWithLabels" culture="en-US"/>
</basemaps>
0 Kudos
francescodi_vito
New Contributor
Thanks thanks bjorn i'm new in the aspect of bingmaps
0 Kudos
AnshulMantri1
New Contributor
The Bing type does not require a url.  Here's the direct link to the main configuration file (for the Bing sample):
http://help.arcgis.com/en/webapps/flexviewer/samples/config-bing.xml
<basemaps>
    <layer label="Streets" type="bing" visible="false" style="road" culture="en-US"/>
    <layer label="Aerial" type="bing" visible="true" style="aerial" culture="en-US"/>
    <layer label="Aerial with labels" type="bing" visible="false" style="aerialWithLabels" culture="en-US"/>
</basemaps>


Found the above links are not working? can someone post the updated documentation for Bing map links.
0 Kudos
IvanBespalov
Occasional Contributor III
Here (version 2.5) - bing configuration xml - live sample.

or

Here (version 3.0) - bind configuration xml - live sample.
0 Kudos