Generating Bing Map points from JSON

Zack Green 1 Reputation point
2020-12-19T19:36:34.067+00:00

I am using PHP/MYSQLi to retreive a JSON string with Lat/Long and cannot find a way to load each Mysqli record as a separate PIN location, could anybody assist/point me in the right direction?

here is a sample JSON

[{"id":"1","incident_lat":"33.39313","incident_lon":"-104.52276","incident_name":"The Roswell incident","incident_info":"The famous Roswell Incident."},{"id":"2","incident_lat":"52.083946","incident_lon":"1.4332807","incident_name":"Rendelsham Forest","incident_info":"The Famous Rendelsham Forest Incident"}]
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
257 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Diamond 💎 21 Reputation points
    2020-12-19T19:44:13.553+00:00

    O I just log out then uhm sometimes I try restarting or reload

    0 comments No comments

  2. Zack Green 1 Reputation point
    2020-12-19T23:08:07.02+00:00

    My question/query may have been a bit obscure, I retrieve the JSON string by executing getjson.php (works great), I just need assistance to parse the JSON string into a layer or separate points on a Bing Map.

    0 comments No comments

  3. IoTGirl 3,206 Reputation points Microsoft Employee
    2020-12-21T21:15:04.543+00:00

    Hi Zack,

    Take a look at the Data Modules section of the Bing Maps interactive SDK at https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk. This likely provides the known data handling you need.

    Sincerely,
    IoTGirl

    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.