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

Both individual Soaring Spot task urls and results pages are supported. If a results page is used, the task displayed will automatically be the latest one meaning the url doesn't have to be updated every day of a competition.

Examples:

Single task: https://www.soaringspot.com/en_gb/jegc2021/tasks/club/task-12-on-2021-07-23

Results page: https://www.soaringspot.com/en_gb/jegc2021/results/club

It is also possible to create and host a custom task data endpoint that follows the Task data schema.

taskTwoUrl

Provide a second task url to display on the map.

Values

Both individual Soaring Spot task urls and results pages are supported. If a results page is used, the task displayed will automatically be the latest one meaning the url doesn't have to be updated every day of a competition.

Examples:

Single task: https://www.soaringspot.com/en_gb/jegc2021/tasks/club/task-12-on-2021-07-23

Results page: https://www.soaringspot.com/en_gb/jegc2021/results/club

It is also possible to create and host a 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.

Running this website costs money and popular competitions do increase our running costs so any donations to help cover them are very gratefully received. If you feel that Glide and Seek has been useful you can donate here.

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.

Running this website costs money and popular competitions do increase our running costs so any donations to help cover them are very gratefully received. If you feel that Glide and Seek has been useful you can donate here.

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>