Closed VladimirKalachikhin closed 4 years ago
Hi, it seems you have misunderstood the updateFeature
option, it does not take a third argument, it is just called with two arguments. Also, the function should return the layer to be used, either oldLayer
or a new instance that you create in updateLayer
.
I want to use existing L.marker by some reasons. My code:
It works, but marker icon are default, not me custom. This code:
work fine.
What am I doing wrong?