Zoom to first layer on EDR (#1819)
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
if (!firstLayer) {
|
||||
firstLayer = layer;
|
||||
layer.on('afterAdd', () => {
|
||||
zoomToLayers([layers])
|
||||
zoomToLayers([layer])
|
||||
if (!cov.coverages) {
|
||||
if (isVerticalProfile(cov) || isTimeSeries(cov)) {
|
||||
layer.openPopup();
|
||||
|
||||
Reference in New Issue
Block a user