Select to view content in your preferred language

Using BING base maps and geocoder

831
2
Jump to solution
01-17-2012 03:43 PM
HeatherKelley
New Contributor
Can a person use Bing maps and Geocoder in the compliled Flex Viewer or do I need to make these edits in the full version of the software?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Heather,

   First thing is make sure you post Flex Viewer and/or widget questions to the Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Absolutely you can use Bing Maps and geocoder in the compiled Flex Viewer.

Look at this:

<bing>
If using Bing Maps for maps or geocoding, you need to provide your  key, which has the following attribute:

  • key???Your bing key. Required.

The following is a subset of the config.xml file and its general properties:

<configuration>     <title>ArcGIS Viewer for Flex</title>     <subtitle>... using ArcGIS</subtitle>     <logo>assets/images/logo.png</logo>     <style>         <colors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</colors>         <alpha>0.8</alpha>     </style>     <bing key="your-bing-key"/>     ... </configuration>

from this page:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Main_configuration_file/01m30000001800...

Also look at this page for configuring Bing BaseMap layers:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/

For the locator widget and configuring it to use Bing look at this link:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Locate_widget_tags/01m30000000r000000/

Don't forget to click the top arrow (promote) and to click the Mark as answer check as shown below:

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Heather,

   First thing is make sure you post Flex Viewer and/or widget questions to the Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Absolutely you can use Bing Maps and geocoder in the compiled Flex Viewer.

Look at this:

<bing>
If using Bing Maps for maps or geocoding, you need to provide your  key, which has the following attribute:

  • key???Your bing key. Required.

The following is a subset of the config.xml file and its general properties:

<configuration>     <title>ArcGIS Viewer for Flex</title>     <subtitle>... using ArcGIS</subtitle>     <logo>assets/images/logo.png</logo>     <style>         <colors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</colors>         <alpha>0.8</alpha>     </style>     <bing key="your-bing-key"/>     ... </configuration>

from this page:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Main_configuration_file/01m30000001800...

Also look at this page for configuring Bing BaseMap layers:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/

For the locator widget and configuring it to use Bing look at this link:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Locate_widget_tags/01m30000000r000000/

Don't forget to click the top arrow (promote) and to click the Mark as answer check as shown below:
0 Kudos
HeatherKelley
New Contributor
Thank you Robert!  I appreciate the help.
0 Kudos