You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "Renan_Stutzel" started this thread

Posts: 2

Location: Niterói - Brazil

  • Send private message

1

Thursday, September 27th 2018, 8:04pm

How can I get latlong values from the mouse position using google maps plugin

I'm using google maps plugin on KrPano to show the map of the surrounding area of the current pano, but I want the user to be able to click on the map and get the lat and long values of the clicked position, currently I can only get the lat long values of the center of the map, is there a way to do it using javascript?

This post has been edited 1 times, last edit by "Renan_Stutzel" (Sep 27th 2018, 8:39pm)


panomaster

Intermediate

Posts: 272

Location: Kobyłka, Poland

Occupation: Virtual Tours - Spherical Panoramas - Krpano developer

  • Send private message

2

Thursday, September 27th 2018, 8:18pm

It's not possible within googlemaps plugin itself. However you could use native google maps API and gmAPI to do that.

  • "Renan_Stutzel" started this thread

Posts: 2

Location: Niterói - Brazil

  • Send private message

3

Thursday, September 27th 2018, 8:23pm

Thank you, I'll try it with the native APi then.

Similar threads