Skip to content

Commit 9174611

Browse files
Peter Rushforthprushforth
authored andcommitted
cleanup
1 parent 5fa14d5 commit 9174611

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/layer.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ export class BaseLayerElement extends HTMLElement {
467467
}
468468
/*
469469
* Runs the effects of the mutation observer for child elements of map-layer.
470-
* Features now manage themselves through their connectedCallback and MapFeatureLayer
471-
* architecture. This method primarily handles extent recalculation and other
470+
* This method primarily handles extent recalculation and other
472471
* child element processing.
473472
*/
474473
_runMutationObserver(elementsGroup) {
@@ -484,8 +483,6 @@ export class BaseLayerElement extends HTMLElement {
484483
};
485484
const _addExtentElement = (mapExtent) => {
486485
this.whenReady().then(() => {
487-
// see comment regarding features / extent. Same thing applies to
488-
// map-extent
489486
delete this._layer.bounds;
490487
this._validateDisabled();
491488
});

0 commit comments

Comments
 (0)