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

Dani AI

Generated

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:

  • Use decimal degrees (for example 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.
  • If a comma or other characters cause trouble when building links programmatically, URL-encode them (comma => %2C).
  • Opening a Google Maps web URL does not require a Maps API key. Programmatic services (Maps JavaScript API, Geocoding, Static Maps, Directions, etc.) do require an API key and billing on the Google Maps Platform.
  • For more options (directions, place IDs, markers) see the official docs: Google Maps URLs documentation.

Don't worry about this. There is an API here to use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.