Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Conversation

@jgravois
Copy link
Contributor

@jgravois jgravois commented Sep 8, 2018

resolves Esri/esri-leaflet-cluster#18

i had a little time today so i came up with a rough cut of how this plugin could be extended to ensure that L.esri.Cluster.featureLayer will draw the symbology defined in a service any time a feature isn't clustered too.

the check for L.esri.Cluster feels like a hack and i don't think it would work with Webpack, but using ES6 to import Cluster as a dependency doesn't seem like the right thing either.

}
var oldOnAdd = L.Util.bind(this.onAdd, this);
var oldUnbindPopup = L.Util.bind(this.unbindPopup, this);
var oldOnRemove = L.Util.bind(this.onRemove, this);
Copy link
Contributor Author

@jgravois jgravois Sep 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

literally the only difference between this new hook and the existing one is to not bind this.createNewLayer here.

@jgravois jgravois requested a review from gavinr September 8, 2018 19:44
@jgravois
Copy link
Contributor Author

yolo

@jgravois jgravois merged commit 6ac0e9d into master May 11, 2019
Comment on lines +14 to +16
"esri-leaflet": "^2.2.3",
"leaflet": "^1.3.4",
"leaflet-shape-markers": "^1.0.6"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed in #152, loose peerDependencies would be a better idea.

@gavinr
Copy link
Contributor

gavinr commented Jun 23, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

esri-leaflet-cluster plugin not working along with esri-leaflet-renderers

3 participants