Naibaf
Naibaf

Reputation: 447

Dark tile layers without country/province borders (for Leaflet?)

I am looking for dark/black tile layers without country/province borders for a leaflet project. I have used Carto DB's DarkMatterNoLabels, but this is not optimal.

Does anyone know suitable tile layers? Alternatively, can I get tile layers elsewhere and feed them into leaflet?

Have a good weekend, Naibaf

Upvotes: 0

Views: 4871

Answers (2)

Jieter
Jieter

Reputation: 4229

Depending on the amount of zoom levels and the extend you need, you could also generate some tiles using QGIS and use that as a tile source.

Maybe you can use Hydda.Base with a css filter to change it's appearance? leaflet-tilefilter might be a good start.

Actually, you can also just use the principle leaflet-tilefilter uses under the hood, which is:

.leaflet-tile {
    -webkit-filter: hue-rotate(180deg) invert(100%);
}

This actually looks quite nice: demo

Upvotes: 2

IvanSanchez
IvanSanchez

Reputation: 19069

I'd give https://www.mapbox.com/ a try, or else download OpenStreetMap data and render your own tiles, using tools such as https://github.com/kosmtik/kosmtik.

Upvotes: 1

Related Questions