Glide and Seek integration guide

Home

Examples

Query parameters

hideSidebar

Controls whether the sidebar is displayed. By default it is visible.

Values

hideSidebar=true : Hides the sidebar

hideSidebar=false : Shows the sidebar

taskUrl or taskOneUrl

Provide a task url to display on the map.

Values

Either a soaringspot task url or custom task data endpoint that follows the Task data schema.

taskTwoUrl

Provide a second task url to display on the map.

Values

Either a soaringspot task url or custom task data endpoint that follows the Task data schema.

distanceToPoint

Displays an overlay on the map with the selected aircrafts distance to a lat long position.

Values

A comma-separated string with a latitude and longitude

Example: distanceToPoint=51.7058333,-2.1319444

aircraftDataUrl

Only shows whitelisted gliders provided from an endpoint. It also shows the pilots name along with overriding the OGN comp number with that from the pilot data endpoint.

Please note, using Glide and Seek for competitions or specific tracking is no longer free!

Running this website costs money and takes a lot of time so from 2020 we are charging a very small fee for custom competition usage.

Please contact us at [email protected] to discuss further.

Values

An endpoint that follows the Aircraft data schema.

compDataUrl

Automatically show competition tasks and aircraft on the map. Includes custom features such as displaying start times, colouring aircraft icons and tasks with custom colours etc.

Please note, using Glide and Seek for competitions or specific tracking is no longer free!

Running this website costs money and takes a lot of time so from 2020 we are charging a very small fee for custom competition usage.

Please contact us at [email protected] to discuss further.

Values

An endpoint that follows the Competition data schema.

viewport

Sets the map center and zoom on load. This value also auto-updates when the map center and zoom changes.

Values

A comma-separated string with a latitude, longitude and zoom level

Example: viewport=51.7058333,-2.1319444,12

embed

When embedding Glide and Seek into an external website, settings such as map position, zoom, map type and other settings are only saved for the embedding site. This should always be used when embedding via an iframe or other method.

Values

The site domain.

Example: embed=cotswoldcomps.co.uk

showAllAircraft

When the aircraftDataUrl parameter is in use, sometimes it would be useful to still show non-whitelisted aircraft on the map. An example use case is a competition finish line where it would be useful to show other airfield traffic like tugs and club gliders on the map to alert incoming comp gliders.

By default only whitelisted gliders are displayed on the map.

Values

showAllAircraft=true : Shows all aircraft

showAllAircraft=false : Only shows whitelisted aircraft

Embedding

Glide and Seek can be embedded in an iframe by using the below snippet as an example. Any of the above query parameters can be set in the url.

Note: To allow geolocation browser permissions, the following attribute must be added to the iframe: allow="geolocation"

<iframe
    src="https://glideandseek.com/?embed=cotswoldcomps.co.uk"
    allow="geolocation"
>
</iframe>