AddressInfo Extension
Release time : 2020-09-04T23:00:00Z
Last Update date : 2020-12-21T00:00:00Z
Current version : 1.2
Description
Hello every one..Today I introduce my first extension..It's an extension that makes some calculation about addresses..
Currently it only supports getting distance between two coordinates..And also indicates if a coordinate is in a radius around a location..
Note: This extension doesn't use any formula in calculation..It uses a class for calculation provided by android.So calculating is more accurate..
Blocks

Documentation
Error occurred
![]()
Event is triggered when an error occurs..
error ~ String
Distance between
![]()
Returns the distance between two points in meters.Returns -1 if coordinates isn't valid.
latA ~ int
lngA ~ int
latB ~ int
lngB ~ int
Is in radius
![]()
Returns true if a specific coordinates is in a specific radius.
targetLat ~ int
targetLng ~ int
positionLat ~ int
positionLng ~ int
Radius ~ int (meters)
Usage example
That's represents how far i am from london in meters ( can be easily converted to kilometres):
That represents if i'm in circle around london it's radius 50 km:
Download links
AIX: io.mohamed.AddressInfo.aix (7.3 KB)
Credits
Thanks for any one supported me while creating the extension ![]()
If you liked this extension hit the like button ![]()
If you have any improvements or you noticed a bug, please tell me ![]()
Regards,
Mohamed Tamer





