leaflet-d3-layer icon indicating copy to clipboard operation
leaflet-d3-layer copied to clipboard

allow custom feature identifier

Open sedenardi opened this issue 10 years ago • 1 comments

This fix addresses the issue discussed https://github.com/rclark/leaflet-d3-layer/issues/1.

I've added an option to allow the user to specify a function that would pick the appropriate unique identifier. I've also added information to the README.

sedenardi avatar Feb 24 '15 01:02 sedenardi

Added options to specify classed, attr, and on fields or functions to be applied to the paths.

sedenardi avatar Feb 24 '15 03:02 sedenardi