MacaScull
MacaScull

Reputation: 181

Is it possible to use Openstreetmaps tile server to serve tiles to mapbox gl with a docker image

is it possible to serve tiles to a mapbox instance using a openstreetmap-tile-server docker image.

This link is a link to set up the server (https://switch2osm.org/serving-tiles/using-a-docker-container/).

The example it provides is a map produced on leaflet but I was wondering if there was a way to modify it so it would use mapbox instead? the server has produced xyz formatted png files

Upvotes: 0

Views: 917

Answers (1)

Yoshikage Ochi
Yoshikage Ochi

Reputation: 211

If I understand correctly, you want to use the tile server hosted on your docker container.

In that case, this example would work.

Upvotes: 1

Related Questions