How to make a hyperlink for a point layer in QGIS so that you can go to Google Maps.

I need to have a separate field when clicked it will show me that point on Google Maps.

  • What do you with "box"? Mar 22 at 12:38
  • Are your point coordinates in lat long?
    – nmtoken
    Mar 22 at 14:28

2 Answers 2


Google Maps URL is like: https://www.google.de/maps/@52.3967404,1.4891383,12.04z

The first 2 numbers after maps/@ are you coordinates (lat, long). Be careful you have the correct order! The last number is just Zoom! Then you can do the following:

  1. Transform you coordinates if needed (You can do it with Field calculator)
  2. Generate the URLs (You can do this also with Field calculator)

I found this answer to my question

'<a href="'||'https://www.google.co.uk/maps/place/' || to_string( y(transform( $geometry, 'EPSG:5563', 'EPSG:4326'))) || ',' || to_string( x( transform( $geometry, 'EPSG:5563', 'EPSG:4326'))) || '">Open Google Map</a>'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.