You can use Bing Maps (formerly Microsoft Virtual Earth) maps and geocoding in your Flex API web applications. As of version 2.0, you use a Bing key instead of a Virtual Earth token.
As of ArcGIS API for Flex version 2.0, the Microsoft architecture now uses keys instead of tokens, and there is no longer a need for a 'Get Virtual Earth Token' proxy page. The Bing token and staging service architecture has also been deprecated by Microsoft. Keys can only be used with Bing Maps services in the production environment, and they do not expire.
ArcGIS Server version 10.0 comes with a Bing Maps Application Key that you can access using the following steps in Manager:
- Log in to Manager.
- On the left pane, click Services > Settings.
- Find the Bing Maps Key section of the panel and click View Bing Maps Key.
- Enter the user name and password of an account that is an administrator on the web server where Manager is installed and belongs to the agsadmin operating system group on the server object manager (SOM) machine.
- Copy the key, and use it to set the key property on VETiledLayer or VEGeocoder.
If you do not have access to Manager, you can also create a key using the Bing Maps Portal as shown in the following steps. Microsoft offers free use of Bing Maps for publicly available sites that are not password protected, but not unlimited free use for internal use. Review their product licensing documentation for more details.
- In a browser, navigate to http://www.bingmapsportal.com/.
- If you don't already have a Windows Live ID, create a new one and log in.
- On the Create or view keys page, enter an application name and URL to create a key. Currently, the name and URL are not validated. If this is your first visit to this page, you'll need to create an account as part of this process.
- Copy the key, available on the same page, and use it to set the key property on VETiledLayer or VEGeocoder.
More information about Bing Maps
Bing Maps Roads, Bing Maps Aerial, and Bing Maps Aerial with Labels can provide detailed context for your proprietary data. The maps are served directly by Microsoft as tiled images, and they are available in a growing number of languages. Similarly, Bing Maps geocoding accesses a constantly growing worldwide catalog of places maintained by Microsoft and exposed through a web service.
View the Bing Maps map styles sample.