Skip to main content

Debug Mode

When in debug Mode you can display some useful information over the map.

Map Modes

The Map has different modes that can be activated by sending a Set Map Mode message to the Map.

There are 4 default Map Modes, and you can manually switch between them in debug Mode.

Config

In this mode you can inspect the current Map Config.

GeoJSON

In this mode you can inspect the current Map GeoJSON used to render the Map. You will see all feature Collections and their features in a tree view.

Debug Messages

In this mode you can inspect the current Messages sent and received by the Map.

Custom Map Modes

You can add new Map Modes through Map Config via additionalMapModes parameter.
These Map Modes will behave like the default one, but can be handy for your App since all Map to App messages also contain the current Map Mode.