Openlayers通过元素获取图层,通过点元素获取线元素
Although Openlayers provides a number of methods, it usually gets the feature from the layer, or gets the coordinates from the feature. The ones that are obtained are generally collections. But you want to get the layer through the feature. The OL select line element has a BUG. Generally, the point element on the line is selected instead of the line element, so you need to write a method to pass the point element. Go to get the line element.
用户评论