Hi, I would like to use openstreetmap_light within my leaflet project, but the labels are in English? Is it possible to have french labels with the openstreetmap_light background? Thank a lot Matthieu asked 11 Sep '19, 21:39 Mat_tan |
You'll need to contact the company that provides the layer that you want to use. There are a couple of options:
permanent link
This answer is marked "community wiki".
answered 12 Sep '19, 12:58 SomeoneElse ♦ Thanks for your response, I think I'll contact the company that provides the layer. But, Is there an openstreetmap layer with only the labels, without the background ??
(12 Sep '19, 15:30)
Mat_tan
labels in french
(12 Sep '19, 15:31)
Mat_tan
I'm not aware of one. The problem that you'd typically get with combining two layers is label collisions (see the comments on https://www.openstreetmap.org/user/SomeoneElse/diary/47007 for some discussion). I guess that you could render all the text on one layer and all of everything else on another, but it's not something that I've seen anyone try.
(12 Sep '19, 15:38)
SomeoneElse ♦
|
openstreetmap_light is? a style or what?
I would like to add this background at my map :
var OpenStreetMap_Light = L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors' });
I realize than openstreetmap_ligth is the variable name and the basemap come of cartodb !! So I don't know if it's in the good place to ask my question !!
But if somebody know how to put the label in french over this background, let me know.
Thanks