Hi,
Is there any specific URL that I can attach latitude and longitude to it and open Google Map in another page to see the location?
Thanks
Hi,
Is there any specific URL that I can attach latitude and longitude to it and open Google Map in another page to see the location?
Thanks
Short answer: yes — you can open Google Maps at a specific latitude/longitude by building a URL. noted a CodeIgniter Google Maps library (useful for embedding or server-side work), but if the goal is just "open a new page and show this coordinate", a simple URL is the easiest route.
Example URL patterns (replace LAT and LNG with decimal degrees):
https://www.google.com/maps/search/?api=1&query=LAT,LNG
https://www.google.com/maps?q=LAT,LNG
https://www.google.com/maps/@LAT,LNG,ZOOMz
https://www.google.com/maps/place/LAT,LNG Notes and tips:
37.4219999,-122.0840575). Negative values indicate south/ west.search/?api=1&query= is the officially supported Maps URLs format and is recommended for predictable behavior.%2C).Don't worry about this. There is an API here to use.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.