Skip to content

Commit ef15644

Browse files
author
Peter Rushforth
committed
up the slomo factor for feature index overlay, correct condition for creating MapFeatureLayer
1 parent 4314a86 commit ef15644

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/map-feature.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ export class HTMLFeatureElement extends HTMLElement {
183183
)
184184
return;
185185
if (
186-
this.parentNode.nodeName === 'MAP-LAYER' ||
187-
this.parentNode.nodeName === 'LAYER-' ||
188-
this.parentNode.nodeName === 'MAP-LINK'
186+
this._parentEl.nodeName === 'MAP-LAYER' ||
187+
this._parentEl.nodeName === 'LAYER-' ||
188+
this._parentEl.nodeName === 'MAP-LINK'
189189
) {
190190
this._createOrGetFeatureLayer();
191191
}

test/e2e/core/featureIndexOverlayResults.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test.describe('Feature Index Overlay results test', () => {
44
let page;
55
let context;
66
test.beforeAll(async () => {
7-
context = await chromium.launchPersistentContext('', { slowMo: 500 });
7+
context = await chromium.launchPersistentContext('', { slowMo: 1000 });
88
page =
99
context.pages().find((page) => page.url() === 'about:blank') ||
1010
(await context.newPage());

0 commit comments

Comments
 (0)