Search code examples
openstreetmapmarkersmbtilestileserver-gl

add custom markers on klokantech/tileserver-gl


From (https://hub.docker.com/r/klokantech/tileserver-gl) i am able to run docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl successfully and serve the map on localhost. However, I want to add custom markers when I click on the map itself. How can I achieve that?


Solution

    • The best way is to add markers on a separate page then embed the tileserver-gl as a base map.
    • This works fine as added markers can be customized as per requirement.