Methods
(static) createWaypointString(coordinates) → {string}
Create a string, ready to be added to the send url as a Waypoint parameter.
Parameters:
Name | Type | Description |
---|---|---|
coordinates | gem. |
Returns:
string ready for url.
- Type:
- string
(static) generateDecodedGeoJsonPoint(inputCodedGeoJson) → {string}
Decode previously encoded geojson for url submission
Parameters:
Name | Type | Description |
---|---|---|
inputCodedGeoJson | string | encoded geojson |
Returns:
- decoded geojson
- Type:
- string
(static) generateEncodedGeoJsonPoint(coordinatesI, properties) → {string}
Parameters:
Name | Type | Description |
---|---|---|
coordinatesI | gem. | coordinates of the item |
properties | string | json properites of the item |
Returns:
- returns encoded geojson item to be added to the send url
- Type:
- string