Autor Thema: Plugin variables  (Gelesen 2991 mal)

Fenando

  • Newbie
  • *
  • Beiträge: 3
  • Gerät: lenovo
  • Version: 6
Plugin variables
« 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 ?

Admin

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 768
    • EgiGeoZone
  • Gerät: Xiaomi Redmi Note 5, Samsung Galaxy Note 2, S4, S5, S2, S7
  • Version: MIUI 10.0 Global, Android 4.4, 5, 6, 7, 8, 8.1, 12, 13
Re: Plugin variables
« Antwort #1 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!

Schöne Grüße
Egmont

Fenando

  • Newbie
  • *
  • Beiträge: 3
  • Gerät: lenovo
  • Version: 6
Re: Plugin variables
« Antwort #2 am: 01.03.2018, 21:00:07 »
Ok, I will wait for the update, hope it doesn't take too long   ;D

Fenando

  • Newbie
  • *
  • Beiträge: 3
  • Gerät: lenovo
  • Version: 6
Re: Plugin variables
« Antwort #3 am: 03.03.2018, 17:43:55 »
It works!!! Thanks a lot  :D