189
Views
4
Comments
[Location Plugin] How to get geolocation info with this plugin
location-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

I don't see how one's supposed to get geolocation info (ie city name, county, address etc) with this plugin.  Am I missing something?  I see that it is returning the lat/long data - am I supposed to use that with another plugin to the the geolocation details?

2021-09-21 09-26-31
Aadhavan Shanmugam

Hi Tom,

You can use the Google Maps component. Use CoordinatesToAddress action to fetch address based on lat/long

Refer Post: https://www.outsystems.com/forums/discussion/69566/how-to-get-location-address-from-latitude-and-longitude-in-reactive/

Thanks, Aadhavan S

2021-09-21 09-26-31
Aadhavan Shanmugam

or you can use this component also

UserImage.jpg
Tom Meehan

Thanks for you help.  Looks like that was the answer I needed.  Of course nothing is easy.... now i'm getting an error as seen in the attached image.  I'm so close... so very close.


"Cannot assign a JavaScript string with value 27.84343399789776 to an output parameter of type Decimal. Check the JavaScript node 'GetLocationJS' of the action 'GetLocation'

IMG0001.jpg
UserImage.jpg
Jon Mounteer

I am getting the same error message. Did you ever find a solution?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.