Get @click coordinates on a vl-map
See original GitHub issueHello, Is it possible to get coordinates of a click on a vl-map component ?
I would need to get longitude and latitude in a function called by a @ click
in <vl-map …>
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Getting Lat/Lng from a Click Event | Maps JavaScript API
This example listens for the click event, gets the latitude and longitude coordinates of the click from google.maps.MapMouseEvent.
Read more >Capture Coordinates in Google Map on User Click
You should add the click listener on marker will give you the position of marker. ... It also uses the placeId to get...
Read more >Calculating a Location from a Mouse Click - Maps API for ...
Calculating a Location from a Mouse Click. Obtain the latitude and longitude of a location within the map. This example displays a map...
Read more >Get coordinates of the mouse pointer | Mapbox GL JS
Show mouse position on hover with pixel and latitude and longitude coordinates.
Read more >How to capture the coordinates on a map on mouse click.
Hi,. I have an Add-In screen on which I have a Record button. Now my requirement is: When I click on the record...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@a-lefe I can only append that with vuelayers you can also setup data projection globally:
In this case
event.coordinate
will be already in EPSG:4326 projection.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.