I have researched a little about this topic and I am wondering if there is a way to do that by doing click
on a Google map on my website I can get the LatLng values (latitude and longitude) of the point where you clicked.
I know that this can be done on android using OnMapClickListener
that returns me that data. But I can not find a way to do something similar but on my website.
These values I intend to use to create static maps, in which the route is drawn between two points, one already predetermined and another one obtained by means of a written address, something like "New york united states". But in the country where I live these addresses fail a lot so I need to sometimes manually place that data LatLng so to make the process easier for my client that just enough to do click
in place and automatically fill in the latlng information
EDIT: The site is basically made in php, using laravel I have researched in the google maps API documentation but I only see that command and it is for Android