This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

marker from tile.openstreetmap.org

0

I'm using the Kartographer add-on for MediaWiki. It does not display markers. The address to the marker is: https://tile.openstreetmap.org/v4/marker/pin-s+7e7e7e.png

Anyone know why this isn't working?

asked 07 Jan '23, 18:04

danielgolub's gravatar image

danielgolub
11112
accept rate: 0%

Hello, I have the same problem. I'm using Kartographer in version 1.39. On the map i only see a border but without marker. @danielgolub: Have you already fixed this problem? Maybe you or anybody else can help me fixing this problem...

(09 Apr '23, 00:23) uli_h

One Answer:

1

These marker urls are wrong. It does seem as if Kartographer is using the tile host and adds the path /v4/marker/....png. But those markers only exist on maps.wikimedia.org. So if you use maps.wikimedia.org, those marker urls should work but not with a different tile host.

This is nothing for OpenStreetMap to do but a problem with the code of Kartographer (or your usage of Kartographer).

At the Kartographer help sections it says:

$wgKartographerSimpleStyleMarkers   true

    Use an api to generate markers using the simplestyle-spec for features. Should be set to false for most applications outside WMF. Otherwise images of markers are assumed to be hosted on the map server.

You should set this to false if you use Kartographer outside of Wikipedia.

answered 09 Apr '23, 10:01

Spiekerooger's gravatar image

Spiekerooger
3.1k22356
accept rate: 16%

Source code available on GitHub .