Demo to preview the plugin:
Track users live using GPS. This plugin provides Latitude, Longitude, Heading, Speed (Mps, Mph, KPH & Knots), Altitude, Accuracy & More!
How to setup
- Create API keys in Google Console.
- Go to the Google Maps Platform > Credentials page.
- On the Credentials page, click Create credentials > API key.
- The API key-created dialog displays your newly created API key. Click Close. The new API key is listed on the Credentials page under API keys.
2. Set google keys into your app.
- Go to Setting > General
Place the element on the page. The element consists of 4 actions, 3 events, and 15 states. The element must be visible on the page load.
- Start Tracking a GPS Tracking - the action starts tracking and you will be able to know the user's coordinates.
2. Stop Tracking - the action stops tracking.
- Get Position - the action returns the client's GPS data.
- Is in area - the action helps you to see if one address is within range of another address.
The Point A
Latitude of point A
Longitude of point A
Define the maximum radius for a geo search (in KM).
The Point B
Latitude of point B
Longitude of point B
Tracking - tracks movement by geolocation. Latitude - contains the current latitude of the device. Longitude -contains the current longitude of the device. Accuracy - Accuracy refers to the degree of closeness of the indicated readings to the actual position. The accuracy of GPS results depends on a number of factors:
- Number of the devices that connect to the aerial wire
- Number of satellites in view
- Signal interference caused by buildings
- Mountains and ionospheric disturbances
Altitude - is the distance above sea level. Heading - property is a double value representing the direction in which the device is moving. This value, in degrees, indicates how far north the device is. 0 degrees is true north, and the direction is clockwise (meaning east is 90 degrees and west is 270 degrees). AltitudeAccuracy - property is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters. This value is null if the implementation doesn't support measuring altitude. Timestamp - The timestamp represents the time when the geographic position of the device was acquired. Meter's Per Sec -Meters per second is a rate of speed, similar to miles per hour. Finding the speed is easy if you are given the distance in meters and the time in seconds. MPH - Miles per hour (mph, m.p.h., MPH, or mi/h) is a British imperial and United States customary unit of speed expressing the number of miles traveled in one hour. It is used in the United Kingdom, the United States, and a number of smaller countries, most of which are UK or US territories, or have close historical ties with the UK or US. KPH - Kilometers per hour is a unit of measurement using length in kilometers and time in hours, and thus it acts as a derived unit for both speed and velocity. The proper shorthand for this unit is km/h, however, kph or kmph are sometimes used. Knots - Knots, on the other hand, are used to measure speed. One knot equals one nautical mile per hour, or roughly 1.15 statute mph. The term knot dates from the 17th century, when sailors measured the speed of their ship using a device called a “common log.” The common log was a rope with knots at regular intervals, attached to a piece of wood shaped like a slice of pie. The distance between the two points - Here you will get the point distance between point A and point B after running the "Is near me" action. Distance is returned in miles. Is near me - After you have run the action "Is near me" in this state, you will receive an answer whether or not the point you are looking for is close. Location was changed - It will show the changing position of the device.