Drawing a path with a line in OpenLayers using JavaScript

后端 未结 3 1840
感情败类
感情败类 2020-12-24 11:49

I have seen the examples presented here of how to draw a line but the examples only show how to do it with the mouse, by clicking.

What I want to do is draw

3条回答
  •  眼角桃花
    2020-12-24 12:35

    I've never done it myself before, but I know OpenSteetMap does it. For example:

    http://www.openstreetmap.org/?way=23649627

    No idea how difficult it would be to work through their code.

提交回复
热议问题