1

Based on What parameters should I use in a Google Maps URL to go to a lat-lon? , I've tried the following:

But none of them will make a pin with this given text, at best it retrieves the nearest object of interest. Is there a way to link a pin at exact coordinates and force a given label text (will be an address or business name, but I'd like to link exact coordinates and ensure that the displayed info text exactly matches what I specify in the URL)?

Thanks!

fer.trecool
  • 71
  • 1
  • 2
  • 9
Vadim Kantorov
  • 930
  • 1
  • 10
  • 28
  • 1
    Everything that you can do is [documented](https://developers.google.com/maps/documentation/urls/get-started). – MrUpsidown Oct 28 '22 at 07:34

1 Answers1

0

You can't ask Google Maps to display a custo infotext / label but if you want Maps to display the official label, you need to form your URL like so

https://www.google.com/maps/search/?api=1&query=Place+de+la+R%C3%A9publique,+Paris

The documentation that @MrUpsidown has linked is the right one.

ValLeNain
  • 2,232
  • 1
  • 18
  • 37