-
Notifications
You must be signed in to change notification settings - Fork 796
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
Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. #667
Comments
thanks for reporting. i can't reproduce the error when targeting var osm = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');
var gray = L.esri.basemapLayer('Gray');
var dark = L.esri.basemapLayer('DarkGray');
var topo = L.esri.basemapLayer('Topographic');
var baseMaps = {
"osm": osm,
"gray": gray,
"dark gray": dark,
"topographic": topo
};
var map = L.map('map', {
center: [39.73, -104.99],
zoom: 3
});
L.control.layers(baseMaps).addTo(map); |
Hey @jgravois, that behavior was actually breaking the code, not just bothering ;) Thanks |
ok. weird that i didn't see the same thing, but either way, good to know that you were able to upgrade conveniently. |
@jgravois reopening this to ask @carrbrpoa a question. @carrbrpoa What versions of Leaflet/Esri Leaflet were you using that produced the error? I just want to make sure we don't have an error on |
Hey @patrickarlt. Sorry, I overwritted the plnkr. This is a new plnkr with the versions that produced the error (leaflet 0.7.7 or 0.7.5 (the ones I tryed) and esri-leaflet 1.0.0): |
thx @carrbrpoa, I'll figure out what's going on and get a patch in. |
Thanks @jgravois assigning to you. |
i've got this problem fixed in a branch called |
@jgravois yup. Release process should be.
I think right now only I have permissions to do an NPM release unless you also have access to the esri_dev account so I can take it from there once you do those steps. |
i've got the keys. while i was riding my bike to work this morning i thought of one more thing. what do we do if/when we need to release 1.0.2? if i delete my new branch after tagging it will no longer be in the repository tree. should we maintain a long running 1.x branch going forward? edit: nevermind, i'm an idiot. |
just a note that since we aren't actually ever going to merge |
i've verified the problem is fixed in 1.0.1. @carrbrpoa thank you so much for taking the time to point out the issue and provide a repro case. just as an FYI, it was necessary to run the command below to ensure that the patch i tagged isn't considered the 'latest' release on npm
in the future, i'll consider setting a different |
Thanks for the efforts guys 💯 |
Despite of issue 455, I'm still having similar problem.
I'm toggling between my available baselayers (with or without overlays) and sometimes this error comes:
And the line pointed in
BasemapLayer.js
is:Here's a plnkr: http://plnkr.co/edit/jyXgske9YXYRViqLamBc?p=preview
It's a simplified version of my app, without overlays. See that you just need to start switching the baselayers and in a while the error occurs.
Sometimes it just doesn't loads the selected baselayer due to the error.
Any ideas?
Thanks in advance
The text was updated successfully, but these errors were encountered: