Skip to content
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

CanvasMarker instead of CanvasIconLayer #2

Open
johnd0e opened this issue Apr 29, 2019 · 1 comment
Open

CanvasMarker instead of CanvasIconLayer #2

johnd0e opened this issue Apr 29, 2019 · 1 comment

Comments

@johnd0e
Copy link

johnd0e commented Apr 29, 2019

CanvasMarker should be compatible with all other leaflet layers / layers groups, to use it completely transparent. E.g. to be able to add each marker to any existent layergroup, and process all events.

@johnd0e johnd0e changed the title Adapt to use in IITC CanvasMarker instead of CanvasMarkerLayer Apr 29, 2019
@johnd0e johnd0e mentioned this issue Apr 30, 2019
@johnd0e johnd0e changed the title CanvasMarker instead of CanvasMarkerLayer CanvasMarker instead of CanvasIconLayer May 15, 2019
@johnd0e
Copy link
Author

johnd0e commented May 15, 2019

Or it would be like this:

L.Marker.mergeOptions({ renderer: L.CanvasIconLayer }); // doesn't work now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant