NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

Mat_tan
11112
accept rate: 0%

openstreetmap_light is? a style or what?

(11 Sep '19, 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 '19, 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 '19, 12:58

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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

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 '19, 15:38) SomeoneElse ♦

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:

×17
×16

question asked: 11 Sep '19, 21:39

question was seen: 1,572 times

last updated: 12 Sep '19, 15:38

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum