Mail with link to google maps

Alvaro Villa5 years ago

Hi!
I',m trying to send a mail when my tracker (A ST-900) enter or exit a geofence, ignition ON/OFF, etc... with a link to google maps that links to the gps coordinates.
I have built the link like this: Localización gps: <a href="https://www.google.com/maps/search/?api=1&query=$position.latitude,$position.longitude"$position.latitude,$position.longitude>Link a la localización></a>

But doesn't works.... what I'm doing wrong?

trackinguser4455 years ago

whats not working the mail or the content of the mail?

Alvaro Villa5 years ago

The content is not ok.

trackinguser4455 years ago

you cant modify the email content? the link is not working? it is not sending?

Alvaro Villa5 years ago

The idea is that in the mail I get a link with the GPS coordinates, so that when I click, Google Maps opens and the map is placed where the coordinates are, the problem is that or send me the link built only with https: //www.google.com/maps/search/?api=1&query= or build it like thishttps://www.google.com/maps/search/?api=1&query=$position.latitude,$position .longitude

How can I have the link built with the value of the variables $position.latitude and $position.longitude ??

Sezai sezen5 years ago
https://www.google.com.tr/maps/place/$position.latitude°+$position.longitude

https://www.traccar.org/forums/topic/help-for-configuring-deviceoverspeedvm/