We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ffe05 commit 5e9e7ceCopy full SHA for 5e9e7ce
src/mapml/layers/MapFeatureLayer.js
@@ -171,6 +171,10 @@ export var MapFeatureLayer = FeatureGroup.extend({
171
172
onAdd: function (map) {
173
this._map = map;
174
+ // Re-append container to pane if it was removed
175
+ if (this._container && !this._container.isConnected && this.options.pane) {
176
+ this.options.pane.appendChild(this._container);
177
+ }
178
FeatureGroup.prototype.onAdd.call(this, map);
179
if (this._context === 'static') {
180
this._validateRendering();
0 commit comments