Geofence area title as Magic Text

hendis

New member
Sometimes, when a user wishes to share their location, they might not want to use latitude and longitude coordinates (or a link to google maps, either).

Could a Magic Text entry be created that allows the usevof the current geofence area? This would allow (for example) a text saying "I am at [geofence_name]."
 

tanutanu

Active member
Sometimes, when a user wishes to share their location, they might not want to use latitude and longitude coordinates (or a link to google maps, either).

Could a Magic Text entry be created that allows the usevof the current geofence area? This would allow (for example) a text saying "I am at [geofence_name]."
You can test it in a if condition or constraint.
Ether inside your geofence or not, these magic texts return your latest location data as well.

EDITED:
[last_loc_link] also returns the Google location url string.
 
Last edited:

hendis

New member
You can test it in a if condition or constraint.
Ether inside your geofence or not, these magic texts return your latest location data as well.

EDITED:
[last_loc_link] also returns the Google location url string.
Apologies for being slow, but I'm new to MD. Could you give me an example?

Let's say you're entering the geofence area called "Apex". You want to send a text saying "I am at Apex". How would you do this?
 

tanutanu

Active member
Apologies for being slow, but I'm new to MD. Could you give me an example?

Let's say you're entering the geofence area called "Apex". You want to send a text saying "I am at Apex". How would you do this?
You had defined the geofence area, so you know where it is. Simply write like this:
 

Attachments

  • IMG_20211125_222903.jpg
    IMG_20211125_222903.jpg
    81.2 KB · Views: 4

Snurre

Member
I don't know about Geofence and how it works, but you can get your exact (almost) location from Geocode and use it in a message
You just need to make a few variables and use 'HTTP GET' like this
Set Variable
lattitude:[last_loc_lat]
longtitude:[last_loc_long]
HTTP GET
And save the result in a variable from where you can extract the information you want, then use it in a message

Edit
Dont click on the link, its just text, I can't find out how to remove the automatic linking from the text 😄
 
Last edited:

tanutanu

Active member
I don't know about Geofence and how it works, but you can get your exact (almost) location from Geocode and use it in a message
You just need to make a few variables and use 'HTTP GET' like this
Set Variable
lattitude:[last_loc_lat]
longtitude:[last_loc_long]
HTTP GET
And save the result in a variable from where you can extract the information you want, then use it in a message

Edit
Dont click on the link, its just text, I can't find out how to remove the automatic linking from the text 😄
There are a bunch of geocoding/reverse geocoding APIs:) It's useful when OP needs the postal address of the location.
I'm using a local api which supports multibyte character code as the return values👍
 
Top