none
List of all the parameters for a bing mappreview url RRS feed

  • Question

  • Does anyone have a link to a page which shows ALL the parameters than can be set on a Bing mapspreview url ?

    I've tried searching but comes up with the same page every time and this doesn't show all parameters https://msdn.microsoft.com/en-us/library/dn217138.aspx

    eg: I want my links to use a UK postcode - so i can use this http://www.bing.com/mapspreview?&ty=18&q=OX13UJ   or use a full url i copied and pasted http://www.bing.com/mapspreview?&ty=18&q=OX13UJ&mb=51.993288~-4.398945~50.677266~-0.372455&tt=OX1%203UJ&tsts0=%2526ty%253d18%2526q%253dOX13UJ%2526mb%253d51.993288~-4.398945~50.677266~-0.372455&tstt0=OX1%203UJ&cp=51.704006~-1.848743&lvl=10&ftst=0&ftics=False&v=2&sV=1&form=S00027

    I want to use the shorter URL but scale it?  even in the shorter url i'm not sure what parameter 'ty' represents - so has anyone a full list for the latest bing maps as of today as it's been upgraded recently ?

    Thanks


    Monday, April 4, 2016 3:36 PM

Answers

  • Just for clarity are referring to the Bing Maps consumer website URL (bing.com/maps). We just released a map developer API as preview which doesn't appear to be related to your question, so want to make sure it is clear for anyone else who reads this thread. The different URL parameters are documented here: https://msdn.microsoft.com/en-us/library/dn217138.aspx

    http://rbrundritt.wordpress.com

    Monday, April 4, 2016 4:30 PM
  • That's because those are undocumented parameters, which means you can't use them as they can change without notice. Only documented parameters can be used. As for posting the same link as you, it didn't show up as a link for some reason so missed it.


    http://rbrundritt.wordpress.com


    Monday, April 4, 2016 10:54 PM
  • Note, these undocumented properties are things like form codes that are used for tracking purposes and make o difference in your request. If you remove them from the URL the URL still returns the same map. If you simply want to pass in a query like a postal code add &q=[your query]

    Lets take a step back here. What are you trying to achieve here? There is a full set of developer APIs available for Bing Maps available in addition to the consumer website that supports URL parameters.

    If you want to go to Google Maps, good luck, they support very few URL parameters compared to Bing Maps.


    http://rbrundritt.wordpress.com

    Tuesday, April 5, 2016 4:02 PM

All replies

  • Just for clarity are referring to the Bing Maps consumer website URL (bing.com/maps). We just released a map developer API as preview which doesn't appear to be related to your question, so want to make sure it is clear for anyone else who reads this thread. The different URL parameters are documented here: https://msdn.microsoft.com/en-us/library/dn217138.aspx

    http://rbrundritt.wordpress.com

    Monday, April 4, 2016 4:30 PM
  • The link you gave me is the one i posted that doesn't actually list all the parameters that can be used ?

    eg: The link https://msdn.microsoft.com/en-us/library/dn217138.aspx doesn't even describe what the 'ty' or the 'q' parameter is or how to set the scale on the map, i was looking for better documentation for parameters to be used on a static url (not api).


    Dave

    Monday, April 4, 2016 4:50 PM
  • That's because those are undocumented parameters, which means you can't use them as they can change without notice. Only documented parameters can be used. As for posting the same link as you, it didn't show up as a link for some reason so missed it.


    http://rbrundritt.wordpress.com


    Monday, April 4, 2016 10:54 PM
  • hmm. Not sure why they wouldn't fully support url's with the parameter for a postcode or document as such. I'll look into using Google maps instead as i suspect a lot more information/documentation for just this simple request.

    Dave

    Tuesday, April 5, 2016 10:50 AM
  • Note, these undocumented properties are things like form codes that are used for tracking purposes and make o difference in your request. If you remove them from the URL the URL still returns the same map. If you simply want to pass in a query like a postal code add &q=[your query]

    Lets take a step back here. What are you trying to achieve here? There is a full set of developer APIs available for Bing Maps available in addition to the consumer website that supports URL parameters.

    If you want to go to Google Maps, good luck, they support very few URL parameters compared to Bing Maps.


    http://rbrundritt.wordpress.com

    Tuesday, April 5, 2016 4:02 PM