Sanjaya Member Licensed User Longtime User Jun 4, 2013 #1 How to calculate if you are really near a specific location but not EXACTLY at the same Lat-Long coordinates? Like within 100meters or 20meters of a specific Geolocation - where this accuracy can be toggled THANK YOU :sign0098:
How to calculate if you are really near a specific location but not EXACTLY at the same Lat-Long coordinates? Like within 100meters or 20meters of a specific Geolocation - where this accuracy can be toggled THANK YOU :sign0098:
klaus Expert Licensed User Longtime User Jun 4, 2013 #2 In the GPS library you have the Location class with the method DistanceTo(TargetLocation As Location) B4X: Dim Loc1, Loc2 as Location ' Dim Distance As Float Distance = Loc1.DistanceTo(Loc2) Best regards. Upvote 0
In the GPS library you have the Location class with the method DistanceTo(TargetLocation As Location) B4X: Dim Loc1, Loc2 as Location ' Dim Distance As Float Distance = Loc1.DistanceTo(Loc2) Best regards.
warwound Expert Licensed User Longtime User Jun 4, 2013 #3 Keep an eye on the new Location API library i'm creating: http://www.b4x.com/forum/basic4andr...stuff-like-low-power-location.html#post172346 It's Geofences feature sounds like what you need. Martin. Upvote 0
Keep an eye on the new Location API library i'm creating: http://www.b4x.com/forum/basic4andr...stuff-like-low-power-location.html#post172346 It's Geofences feature sounds like what you need. Martin.
Sanjaya Member Licensed User Longtime User Jun 5, 2013 #4 Thank you Thank you so much Klaus and Martin Upvote 0