question

DaPaul-8209 avatar image
0 Votes"
DaPaul-8209 asked DaPaul-8209 commented

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IoTGirl avatar image
0 Votes"
IoTGirl answered DaPaul-8209 commented

Hi @DaPaul-8209,

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

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi IoTGirl

Thank you very much for your quick answer.
It worked beautifully.

Have a nice day

Poul

1 Vote 1 ·

You are very welcome @DaPaul-8209! Please don't hesitate to mark it as the answer if it did work for you.

0 Votes 0 ·