-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make EdgeMarker track a single coronate or marker #16
base: master
Are you sure you want to change the base?
Conversation
original EdgeMarker would add edgemarkers for all layers with getLatLng. now its tracks a single coordinate with: L.EdgeMarker(coordinate,options); or a single marker with: marker.bindEdgemarker(options);
is no longer used
How would I create EdgeMarkers for a whole layer with this? |
In the demo.html i included in all pull request (was not the smartest idee to include those in pull request, You should probably remove those)
I could make it so you have
or/and something like this:
So you do something different then only remove. Like changing options |
might be better to use
And if you follow what leaflet is doing with bindTooltip and bindPopup, you would say it not necessary to make dedicated function for that. |
I think its better to leave it as it is because of backward compatibility reasons. I'm not ready to completely change the way the plugin works.. |
If you like? I Think it's possible to make it more backwards compatible. |
original EdgeMarker would add edgemarkers for all layers with getLatLng.
now its tracks a single coordinate with:
L.EdgeMarker(coordinate,options);
or a single marker with:
marker.bindEdgemarker(options);