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, 21:39

Mat_tan's gravatar image

Mat_tan
112
accept rate: 0%

openstreetmap_light is? a style or what?

(11 Sep, 22:03) SimonPoole ♦

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

(11 Sep, 22:18) Mat_tan

You'll need to contact the company that provides the layer that you want to use. There are a couple of options:

  • They may already make that layer available with different language labels on a different URL.
  • The style may be public, allowing you to create a modified version of it with English labels.
  • You may be able to pay them to create the style you want.
permanent link
This answer is marked "community wiki".

answered 12 Sep, 12:58

SomeoneElse's gravatar image

SomeoneElse ♦
32.1k63333752
accept rate: 15%

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, 15:30) Mat_tan

labels in french

(12 Sep, 15:31) Mat_tan

But, Is there an openstreetmap layer with only the labels, without the background ??

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, 15:38) SomeoneElse ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×14
×14

question asked: 11 Sep, 21:39

question was seen: 178 times

last updated: 12 Sep, 15:38

powered by OSQA