Select to view content in your preferred language

Bing Map Service for Flex 2.0-setup

1382
9
10-04-2010 08:28 PM
JayDira
Emerging Contributor
Can anyone please provide me the steps to add the Bing Map service.
I would like to replace the ESRI images services from the out of the box flex 2.0 with bing map service.
Thanks.
Tags (2)
0 Kudos
9 Replies
DerekLaw
Esri Esteemed Contributor
Hi JR,

Please see Mehul's detailed post on using Bing maps in the ArcGIS Viewer for Flex in this thread:

How to access Bing Maps

Hope this helps,
0 Kudos
JayDira
Emerging Contributor
Hi JR,

Please see Mehul's detailed post on using Bing maps in the ArcGIS Viewer for Flex in this thread:

How to access Bing Maps

Hope this helps,


Hello Law,

I have update my config file and I have no results.
Can you please review the code to let me know what I am missing.
Do I have to include anything about a "VETiledLayer"
Please help.
Thanks.
---------------------------------------------------------
<configuration>

    <httpproxy enabled="false">proxy.php</httpproxy>
    <title>City of Diamond Bar-Parcel Viewer</title>
    <subtitle>... using ArcGIS</subtitle>
    <logo>assets/images/logo.png</logo>
    <stylesheet>blackgold.swf</stylesheet>
<bing key="AiiqZ2xaaNqzCn7x2sQHE8CvGBLwuDp1Xo-h9D5Cab1ElPgV###########"/>


    <!-- UI elements -->
    <widget left="10"  top="50"    config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>
    <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>
    <widget right="20" top="55"    config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/>
    <widget left="0"   top="0"     config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>

    <map initialextent="-13123600 4025400 -13105800 4033950"> top="40">
        <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
DerekLaw
Esri Esteemed Contributor
Hi JR,

  <map initialextent="-13123600 4025400 -13105800 4033950"  > top="40"> 


Noticed this typo in your <map> tag, you need to remove the extra ">".

Hope this helps,
0 Kudos
JayDira
Emerging Contributor
Hi JR,



Noticed this typo in your <map> tag, you need to remove the extra ">".

Hope this helps,


Hello Law,

I fixed that typo and I still recieve a blank screen. Any idea's what can be the issue.
I know the key works because we are using bing map  on our .net maps.
Thanks,
Thanks.
0 Kudos
DasaPaddock
Esri Regular Contributor
Are you using Viewer 2.1 or an earlier version?
0 Kudos
JayDira
Emerging Contributor
Are you using Viewer 2.1 or an earlier version?


I am using Viewer 2.1 now.
0 Kudos
DasaPaddock
Esri Regular Contributor
If you use a tool like HttpFox, do you see any requests going to http://dev.virtualearth.net and if so, what is the response?
0 Kudos
AndrewLuzinov
New Contributor
How can i get the list of available LODs for VETiledLayer?
I'm trying to write custom zoom navigation control.
0 Kudos