Polyline not showing up on Bing Maps - bing-maps

I am trying to create a custom URL to Bing Maps displaying a polyline. I literally copy-and-pasted the example from their documentation, just modifying it slightly to center the map on the shape, but the polyline isn't showing up :
https://www.bing.com/maps?sp=polyline.47.68_-122.12_48.68_-123.12_49.68_-122.12_LINE_some%20notes_http://bing.com__%23ff0000__10px_Single_Solid&cp=47.68~-122.12&style=h
What is wrong ?

That documentation is old and is for the old Bing Maps website. Note that the Bing Maps website is not a developer API/tool. I recommend posting in the Microsoft Answer forums which is geared towards the Microsoft consumer products. The Bing Maps website team is more likely to monitor that forum than a developer forum: https://answers.microsoft.com/en-us/bing/forum/bing_maps?auth=1
Since this isn't in the new Bing Maps website, I also recommend adding this to the Bing Listens user voice site as a feature request: https://binglistens.uservoice.com/forums/283355-ideas/category/94066-maps

Related

Huawei Map Kit Directions API does not show Route planning in the US

I am using Huawei Map Kit REST Directions API for route planning in my Android app. The details of the Directions APIs can be found at the links below:
https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/web-diretions-api-introduction-0000001050178120-V5
https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/directions-walking-0000001050161494-V5
The Directions API works well in my app for route planning in most of countries and regions. But it seems that the function of Directions API does not work in the US. In other words, it does not show route between two places on Huawei Map. After checking the supported countries/regions in Huawei developer website, the country of the US is supported by Map Kit. Why does the route planning not work in the US?
Regarding your feedback, the current route planning function in Directions API of Map Kit does not support the route planning of locations in the United States for the time being. We are now completing the part of the function to support the US.
We are sorry for not clearly stated on the website and will refresh the information on the website as soon as possible.

Bing maps vs Bing maps API

I have a question, searching a local business on Bing maps results in detail information about the business for instance its phone, url and hours of operations. I didn't find a way to get similar attributes (phone, url, hours of operations etc) by Bing maps API. My question is it just me, who is unable to find a way to extract such info or there is no way (through Bing maps API)?
This is to be expected. The Bing Maps website is just like any other company that uses the Bing Maps API's. They use the API's to provide mapping functionality and then add their custom functionality on top. A lot of the rich business listing data that you see on the Bing Maps website is sourced from other companies such as Yelp, Four Square or Trip advisor, but they only allow the Bing Maps to use this data in their 1st party apps (i.e. Bing Maps website) and not in the developer API's as these companies already have developer API's. This is the primary reason why you will see more data on the Bing Maps website than you will in the API. You will find that this is also the case with Google Maps as well.

What is the correct BING Search API GET URL?

I am trying to figure out how I can do a simple REST call in my app with BING Search API.
With Google the URL I use is something like this:
https://www.googleapis.com/customsearch/v1?key=HERE_IS_THE_KEY&cx=HERE-IS_APP_ID&searchType=image&lr=lang_no&q=pepsimax
I can't seem to find BING's version of this. I can't even find where I add a new APP in the control panel.
Anyone know the BING url to query search and where in the control panel to add a new app?
The query URLs have changed from http://api.bing.net in the Bing Search API 2.0 to the following in Windows Azure Marketplace. The one that you use depends on which product offering you've subscribed to.
Product offering Query URL
Bing Search API https://api.datamarket.azure.com/Bing/Search/
Bing Search API - Web Results Only https://api.datamarket.azure.com/Bing/SearchWeb/
For Web Result:
https://api.datamarket.azure.com/bing/search/web?format=json&query=%27Your_search_Keyword%27
Here is the documentation available.

Is a license required to use the Bing maps version that's on Facebook pages?

I notice that Facebook pages allow a map box that clicks to a full page, dynamic Bing map:
And by just changing the address and name parameters in the link HTML I can get the map to show any location and map sign I want.
Do I need a license to generate these links myself for clients that I build a web page for?
Thanks for any information.
If you want to create links to Bing Maps that open a map to specific location using nothing more than a URL then you can do this using the documented method found here: http://msdn.microsoft.com/en-us/library/dn217138.aspx Don't reverse engineer the maps on Facebook.
A license is not required to do this. However you will find that you are limited to only the functionality that is exposed through the URL and won't be able to do much in terms of customizations. You will also be taking users away from there current environment to the Bing Maps website which might not be the ideal user experience. If you need more customization functionality or a better user experience then you would use the Bing Maps development API and which does have some free terms of use, but also has options for licensing high volume or internal apps.

Map APIs and REST

I'm currently doing an investigation into the use of APIs with mobile and web applications and I've recently stumbled across something called Representational State Transfer (REST).
It seems that MSDN Bing API documents this quite well, but Google Maps API doesn't.
Does anyone know if this interface is just used by Bing or could it be implemented with the use of Google Maps API as well?
You can find Google Maps API documentation at this link, but it only describes how to interface with the API in order to use the Maps service;
https://developers.google.com/maps/documentation/webservices/