Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I need to develop Leaflet map which will show the whole world. Also, I need to draw some arrows which will show paths of migrations in the world. The important thing to say that those arrows need to be curved. Do you have some advice how can that be shown on the map in Leaflet API?

My ideas: Is it possible to show some direction arrows with RaphaelJS? I see that Leaflet has Raphael plugin so we can add Raphael object on the map. Is it possible to draw a polygon which will be arrow shape and overlay it on the map?

share|improve this question

1 Answer 1

Much easier just to draw them in a GIS system and then add them as a layer to the map. Raphael would work, but it seems like the long way around.

Also any curve is really just made up of a series of straight lines so you could likely achieve the required effect using Leaflet.

share|improve this answer
    
So you mean draw it like a polygon? –  againstflow Dec 18 '12 at 12:20
    
Yes a polygon or a line. I would probably go with a line as a polygon will might not look so good at all zoom levels. Whilst a line the thickness will the same at all zoom levels. Do a Google image search for "whether map" you'll probably get some good inspiration there. –  ChrisInCambo Dec 19 '12 at 2:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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