3

I want to add road name parallel to its line or if the line is curved, then the label should also be curved as in the image. How to add these name labels using Leaflet?

example image

1
  • how to add name parallel to polyline in leaflets???
    – user32876
    Commented Jul 26, 2014 at 7:32

1 Answer 1

0

This isn't covered by the functionality of most webmap toolkits. Instead this is realized by the renderers who create the basemap that is embedded with Leaflet.

Thus, you need to setup Mapnik, Maperitive, Mapbox, ... create a mapstyle that you want and deliver it to your endusers. Otherwise you might want to adapt existing style e.g. delivered by Cloudmade, Mapquest, ... or checkout some of the very few vector based webmap toolkits.

Not the answer you're looking for? Browse other questions tagged or ask your own question.