tbicr
tbicr

Reputation: 26080

How add polyline to mapbox.js map?

I'm using mapbox.js map javascript api but I didn't found native methods to creating lines, polylines, polygons and etc. I founded one example which probably can help me, but it look difficult.

I use mapbox, because it support greatest map animation that I know. See example.

Who know easy examples or libraries which provides drawing lines, polylines and etc with mapbox.js api?

Upvotes: 1

Views: 2051

Answers (1)

tmcw
tmcw

Reputation: 11882

mapbox.js doesn't currently support line-drawing itself, but you can use it with d3 to support polylines.

Upvotes: 3

Related Questions