I am not sure what I specifically need to change to the sample flex viewer code (v 1.3) and what specific additional information I will need from my ArcGIS server administrator.
Please if anyone has any helpful insight to how to get bing to work please email me. I can't find any real documentation to get this to work. Everything i have tried has been trial in error with no luck. The maps do not appear but i still get an x/y coordinate and can still search and locate cities with correct coordinates. I have to be close. I commented out the ESRI basemaps and then uncommented out the Bing. I then exported out a vetoken.ashx and put it in my IIS configured with user name and password that i got via ArcSOM. When you go directly to the vetoken (http://domain/vetoken.ashx) it gives a token (ex {"token":"mqc8vRfhMmisbouPhkvibwB6Etl_feVl9J5ET15qsjKzHQ3qqv4PVk4JqNLYq0bx2WgE2XXNnaKX-a8UljHp6w2"} ) which makes me think i am leaving out something small. Any help would be greatly appreciated.
Please follow these steps to get access to BING maps in the Sample Flex Viewer (SFV) v 1.3 (these instructions assume the SFV is set up in the IIS wwwroot folder):
1. Open the config.xml file and comment out the original map tag. Below is what the code should look like:
3. At the end of each map service url above, there is a link to the vetoken file. Change the [machine] in the http://[machine]/vetoken.ashx to match your machine. For example:
6. Edit the vetoken.ashx to add your username and password and your host machine. The following areas need changed: "your username", "your password", and "yourmachine" as illustrated below:
// set your VE credentials private string userName = "your username"; private string password = "your password";