Demo to preview the plugin:
Introduction
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
Plugin Element
GPS Tracking
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.
Element Actions
- 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.
Title | Description | |
The Point A | ||
Latitude | Latitude of point A | required |
Longitude | Longitude of point A | required |
Around Radius | Define the maximum radius for a geo search (in KM). | optional |
The Point B | ||
Latitude | Latitude of point B | required |
Longitude | Longitude of point B | required |
Element States
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.