Hi there,
I'm trying to use this formula to show two points on a static Bing Map:
https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/Routes?wp.0=Seattle,WA;64;1&wp.1=Redmond,WA;66;2&key={BingMapsAPIKey}
I would like the text for wp.0 to be the text in a textbox on the screen and wp.1 to be the Title in a gallery on the screen.
When I type this into the formula bar, the map returned is blank:
"https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/Routes?wp.0="&txtLocation.Text;64;1&"wp.1="&Gallery4.Selected.Title;66;2&"&key="&txtBingMapsKey.Text
Also, the blank image is a 350 x 350 pixels, 600 x 1200 pixels, which is the size of another map in the app I built, using this method.
Help:
- Ideally, I would like to make the map I created using these steps include pushpins for all other locations in the displayed gallery, along with the location in the text box (txtlocation)
- I would be fine if initially, only the image from the text box were on the map, and then a pin were dropped based on the tile clicked in the gallery.
- Worst case scenario, on selecting a tile in the gallery, I would like to navigate to a new page with waypoint map (the txtlocation being the start point and the title from the gallery tile being the end point)
- If I had to use this option, I would want it to be the same size as the other map (600 x 1200)