Hi everyone. Now I'm using Openlayers to integrate Openstreetmap into my web. Besides, I want to hide/remove all the labels on map(country,city,road,lake....). How can I do that without establishing my own Web Map Server? Thank you every much ! asked 28 Jan '15, 18:24 snowangel912 aseerel4c26 ♦ |
Unfortunately you can't, because the labels are rendered into the tiles that you're displaying. Unless you can find a public source of tiles without labels, of course ... which turned out to be rather simpler than expected (see comment below). Here's an example: http://c.tiles.wmflabs.org/osm-no-labels/10/549/335.png You should be able to figure out everything you need from that.
permanent link
This answer is marked "community wiki".
answered 28 Jan '15, 18:28 SomeoneElse ♦ 3
Well, a public source are those "no labels" tiles from wmflabs.org (Wikimedia). I guess it is okay to use them for a small private website, but please check their(!) tile usage policy (example: osm.org's tile usage policy) if you plan to use them with more than a few accesses. Also check under which license they are distributed (in any case you need to attribute OSM correctly, too)
(28 Jan '15, 19:00)
aseerel4c26 ♦
1
you can also do a keyword search on this FAQ site about "label", "no label" or "without label" ... there are some topics.
(28 Jan '15, 19:18)
stephan75
@aseerel4c26 thanks - I had no idea those still existed, I thought that the WM labs stuff (like the multilanguage stuff, which found a new home) had all gone.
(28 Jan '15, 19:50)
SomeoneElse ♦
|