Flexibility is at the core of the DeepHub®; users are seamlessly able to switch the background map provider that is displayed in the DeepHub® user interface to cater to their specific requirements. The DeepHub® supports Mapbox and MapTiler, allowing users to display their own custom-made web maps.


Changing the Mapping Service

The mapping service of the DeepHub® UI can be changed in the docker-compose.yml file. Open the file and adjust the values for the applicable environment variables. The variables to keep in mind are the following:


Variable
Mapbox ExampleMapTiler Example

DOCKER_MAP_ACCESS_TOKEN

pk.eyJ1IjoiaGVpZGV... 

UuAnI9FmI6K....

DOCKER_MAP_DEFAULT_STYLE

mapbox://styles/mapbox/light-v10

https://api.maptiler.com/maps/basic/style.json?key=nmxDH2VnkK5pNytXOiHo

DOCKER_MAP_UPDATES_PER_SECOND

10

10

DOCKER_MAP_PROVIDER

mapbox

maptiler


Note: you must stop a running DeepHub® before changing these settings in the docker-compose.yml file. This can be done by executing the "docker-compose down" command in a terminal. Example:


cd deephub-bundle_latest
docker-compose down


License Keys

The DeepHub® UI comes with a testing/trial license key for Mapbox. However, this is only a trial and cannot be used for production. Furthermore, the DeepHub® UI does not come with a testing/trial license key for MapTiler. 


For this reason, it is required for you to acquire your own license key for Mapbox and MapTiler, and adapt the environment variables in the docker-compose.yml file as described above.