2017-05-02 111 views

回答

0

這在世界地圖插件中目前不可行。還有另一個插件可以用線條做某些事情。這裏是feature request issue on GitHub for this featureother plugin就在這裏。

+0

其實很有可能 - http://stackoverflow.com/questions/33468905/draw-lines-between-markers-in-leaflet –

+0

你是什麼意思?您目前無法使用Worldmap插件在點之間繪製線條。當然可以更改插件以支持它。 Worldmap使用Leaflet庫,就像我鏈接到的其他插件一樣。但我不認爲我會在未來幾個月更新Worldmap插件來畫線。 –

+0

在WorldMap Plugin Leaflet Library中有一個叫做polyline的函數,我用它來連接2個地理位置。 –