Leaflet/Leaflet

Implement L.Marker.setStyle()

Open

#3,788 opened on 2015年8月28日

GitHub で見る
 (2 comments) (1 reaction) (0 assignees)JavaScript (45,018 stars) (6,124 forks)batch import
featurehelp wantedneeds discussion

説明

It would be nice if Markers would have a setStyle method compatible with the GeoJSON style function option.

The use case is a GeoJSON layer with point features which became L.Markers, then calling L.GeoJSON.setStyle() with a callback that returns marker options instead of path options.

コントリビューターガイド