Posted By: Anonymous
I would like to produce a url for Google Maps that goes to a specific latitude and longitude. Now, I generate a url such as this:
The resulting map comes up with a round “A” balloon pointer, which seems to point to the nearest named object, and a green arrow, which points to the lat-lon. Sometimes, as in this example, the “A” pointer is centered and is far enough away that you cannot see the pointer to the lat-lon. (Zoom out to see both pointers in this example. The “A” pointer is in the center of Alaska, while the lat-long pointer is on Kodiak Island.)
Are there some parameters I can use in the Google Maps URL that will produce a single pointer to a designated lat-lon? (This loads in a separate window. It is not embedded.)
In May 2017 Google announced the Google Maps URLs API that allows to construct universal cross-platform links. Now you can open Google maps on web, Android or iOS using the same URL string in form:
There are several modes that you can use: search, directions, show map and show street view.
So you can use something like
to open map and place marker on some lat and lng.
For further details please refer to: