Bing map rest API does not return proper lat-long values

Jerry 1 Reputation point
2021-01-22T02:07:25.78+00:00

When I am searching '藕舫路276号' string in BING MAP it is locating proper place. But when I am trying to invoke BING MAP REST API using the below request, I am not getting proper lat-long values.

http://dev.virtualearth.net/REST/v1/Locations?countryRegion=CN&addressLine=藕舫路276号&key={my-bing-key}

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
832 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Frank Zhang 1 Reputation point Microsoft Employee
    2021-02-07T06:43:12.483+00:00

    Hello @Jerry . Are you trying to use the api in China market? If so, could you try to add &culture=zh-cn to the url and check whether the result is expected?

    0 comments No comments

  2. IoTGirl 3,621 Reputation points Microsoft Employee Moderator
    2021-02-12T21:44:26.193+00:00

    @Jerry Can you please confirm that adding the correct culture code gives you the result you expect?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.