LeafletPlayback icon indicating copy to clipboard operation
LeafletPlayback copied to clipboard

Function for Layer properties... seems not, but layer.style can

Open SFSailor opened this issue 7 years ago • 0 comments

The documentation says

layer - Object or function with signature (featureData) that returns geoJSON layer options object. Useful for setting path color. Default: {}.

However, that throws an error. But I CAN use a function with the style sub-property of layer. Spent a bit of time learning this.

SFSailor avatar Nov 26 '17 22:11 SFSailor