Explore the guides

Choose the player experience

A dependable map player, an experimental 3D globe and an optional Mapbox alternative.

For a more modern and spectacular experience, Treasure Hunt offers two experimental 3D viewers: Cessium, an interactive globe, and Mapbox, an alternative 3D map. Both animate Pegman and use the same hunt clues and progress.

Animated Pegman model from the activity. It pauses when out of view.

Three browser viewers

ViewerBest fitWhat to expect
Bootstrap / OpenLayersEveryday playStandard map, familiar controls, clues, QR and stage feedback.
Cessium / Cesium 3D ExperimentalImmersive explorationGlobe, terrain and 3D Pegman with animated states; native layer controls.
Mapbox ExperimentalAlternative 3D mapMapbox styling and buildings when configured with an access token.

Cessium: a globe for the quest

The Cessium viewer presents the hunt in a three-dimensional world. It can show terrain and imagery choices, fly toward the play area and animate Pegman as the player marks a location or follows directional guidance. The hunt’s rules, clues and progress still come from the same Moodle activity.

Cesium 3D player with Pegman
Actual Cesium 3D view with satellite imagery, a stage area and animated Pegman (Spanish interface).
3D Pegman pointing toward a destination in Cesium
Pegman points toward the next discovery in the Cesium globe.

Mapbox as an alternative

Mapbox is an optional experimental viewer with its own map style and 3D buildings where available. The Moodle administrator must configure a Mapbox access token for hosted styles and imagery. Preview it with the same road and compare performance on the devices students will use.

Mapbox player with Pegman
Optional Mapbox viewer with the 3D Pegman on the map (Spanish interface).

Choose and test

The activity setting chooses the normal viewer. A teacher with management permission can select a viewer for a test using playertype=bootstrap, playertype=cesium or playertype=mapbox in the play URL. Use the activity’s preview controls for a valid road. Check that every viewer displays the same eligible clues, completed-stage history and QR flow.

Player selection in activity settings
Activity setting used to choose the normal player (Spanish interface).

Geographic editor

The standard stage editor uses OpenLayers. The experimental edit2.php can use the map engine selected in activity settings, or a teacher-selected playertype URL parameter, while retaining the surrounding Moodle editor layout. OpenData authoring is described for the standard editor.