dc-js / dc.leaflet.js

DC charts using Leaflet maps
Apache License 2.0
52 stars 24 forks source link

.marker(function(d, map) {}): map is undefined #30

Closed DienNM closed 7 years ago

DienNM commented 7 years ago

Hi, I am using .marker to customize something. I follow the document but "map" is undefined. d: is correct. Thanks, Dien

gordonwoodhull commented 7 years ago

I'm not sure how useful this is, given that the map is the same as markerChart.map(), but I agree that the library should follow its documentation!

Fixing this for 0.3.2.

gordonwoodhull commented 7 years ago

Thanks @DienNM!

DienNM commented 7 years ago

Thanks @gordonwoodhull