OpenRailwayMap

Mark Bailey4 years ago

I am trying to use a Custom Map using the OpenRailwayMap from openrailwaymap.org.
Wondering if anyone has managed to get this to work.
Their url is like http://a.tiles.openrailwaymap.org/standard/${z}/${x}/${y}.png
But that does not work

Any help here would be appreciated.

Anton Tananaev4 years ago

What's the error?

Mark Bailey4 years ago

Not getting an error....

In Account / Peferences ....I set Custom Map.

In Server....
I Set Map layer to Custom Map
I set Custom Map http://a.tiles.openrailwaymap.org/standard/${z}/${x}/${y}.png

Save and refresh.....

Does not show any map.

Anton Tananaev4 years ago

I understand, but have you checked browser console to see what the error is?

Mark Bailey4 years ago
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure element '<URL>'. This request was automatically upgraded to HTTPS, For more information see <URL>

GET https://a.tiles.openrailwaymap.org/standard/$4/$10/$5.png 404 (Not Found)
Anton Tananaev4 years ago

Seems like the problem is with dollar sign. Why did you add it?

Mark Bailey4 years ago

Oh Wow. I just used their example.

Works Now.

Thanx Anton. You are a Legend.