Obtaining location coordinates from Google Maps


I've noticed that getting coordinates with (LocationSensor) is very slow (30 seconds). I'd like to reduce this time by using Google Maps coordinates, as it seems more accurate.

That's why I need to retrieve these coordinates in real time in two labels.

I tried using (CurrentUrl), but these aren't my actual location coordinates; they're the coordinates of the center of the screen where it's located.

Any suggestions?

Ubicacion_Google_Maps.aia (3.8 KB)

You can try the nmea extension of @Juan_Antonio ( search on this forum or on puravida ), it “spits out” nmea sentences from your phone’s gps ( but you have to decode them ).

P.S.

Not sure google knows the position of everyone

Nmea_30.aia (19.2 KB)

1 Like

Like me :smiley: :globe_showing_europe_africa:

Have you read

If you read about how it works you might wish to review:

  • Accuracy -a calculated estimate of the reliability of the precision of the currently reported coordinates. One reason the coordinates you see getting them from GM to your app determined x, y coordinates may be a large Accuecy value and all the reasons you may get one. The gps receiver in you phone can only resolve under the best of conditions about 2 meters.
  • Provider - the coordinates displayed depend on what Provider is in use by your app (gps, fused, network etc.)
  • Sensors
  • and by looking for forum topics that include gps, Maps, fused provider, etc.

This will give you an idea about why there is a difference between the coordinates Google Map provides for something and what your app determines. The reasons for differences is much more complex. :

1 Like

How can I remove this message?

This appears when I first log into the app.

This also appears in the example you sent (Nmea_30).

Ask for the required permissions
There is an AskForPermission method in the Screen drawer

Taifun

Do you have the block or an example?

I managed to remove the message, but only when working with the location sensor.

But now I'm using NMEA from @Juan_Antonio

So you read his guide ?

Taifun

1 Like

1 Like

To clarify, it only works on screen1

Please test it yourself and let us know what you find out
Taifun

I tried it on Screen 2 and the message appeared.

I tried it on Screen 1 and the message no longer appeared.

Thanks

Taifun

TIMAI2