EgiGeoZone Forum

EgiGeoZone => EgiGeoZone Telegram Plugin => Thema gestartet von: Fenando am 28.02.2018, 22:36:29

Titel: Plugin variables
Beitrag von: Fenando am 28.02.2018, 22:36:29
Thanks for your great work.
My question is about the variables that the plugin can send. In order to do some calculations I need to get the latitude and longitude of the device when the message is sent. I think the app have them avaiable: ${realLatitude} and  ${realLongitude}. However when I placed them in the command line I get the text that is placed in the line, not the value. And in fact they are not listed in the plugin instructions.
So is there any chance to get them ?
Titel: Re: Plugin variables
Beitrag von: Admin am 01.03.2018, 07:23:51
In order to do some calculations I need to get the latitude and longitude of the device when the message is sent. I think the app have them avaiable: ${realLatitude} and  ${realLongitude}. However when I placed them in the command line I get the text that is placed in the line, not the value.
You are right. This variables are not implemented. Instead you can use:
${latitude} Latitude
${longitude} Longitude

I will add them soon. Then you have to update EgiGeoZone and the Plugin!

Titel: Re: Plugin variables
Beitrag von: Fenando am 01.03.2018, 21:00:07
Ok, I will wait for the update, hope it doesn't take too long   ;D
Titel: Re: Plugin variables
Beitrag von: Fenando am 03.03.2018, 17:43:55
It works!!! Thanks a lot  :D