Can I get the get the geolocation with Points? Basically the opposite of LocationToPixel(), but in JavaScript?

DaPaul 26 Reputation points
2021-04-07T11:32:30.03+00:00

Hi
I need to make a system where people can place markers just by clicking on the display. But it seems I need Latitude and Longitude to place markers.
Is there any way I can either place markers with Points or a way I can convert Points to Locations?

Thanks

Poul

Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
0 comments No comments
{count} votes

Accepted answer
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2021-04-07T17:46:10.663+00:00

    Hi @DaPaul ,

    Have you looked at using the events on the Bing Maps V8 control? See https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/mapmouseevents

    Sincerely,
    IoTGirl


0 additional answers

Sort by: Most helpful