Open ghost opened 8 years ago
@pierrebonbon did you fix your problem? I have a problem about remove the movingMarker?
Hi @lin559 unfortunately no, I didn't advance on this issue any further I'm afraid. It works pretty well with only one marker but didn't manage to make it work with an array.
Any updates on this issue?
I am attempting to add a custom option to the plugin so that, if truthy, each marker is removed at the end of the respective animation. I think this could be a really useful feature. Also, it is not trivial to remove them individually outside the plugin (please see issue #11).
With this in mind, I've added a
destroyedState: 4
line in the statics properties and aremove: false
line in the options properties. I've also added the following code blocks:Unfortunately, for some reason the method clearLayers isn't doing its job here.
I've a working example here