File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ import { HTMLInputElement } from '../mapml-viewer';
5454import { HTMLSelectElement } from '../mapml-viewer' ;
5555import { HTMLLinkElement } from '../mapml-viewer' ;
5656import { HTMLStyleElement } from '../mapml-viewer' ;
57- import { HTMLWebMapElement } from '../mapml-viewer' ;
58- import { HTMLMapAreaElement } from '../mapml-viewer' ;
57+ import { HTMLWebMapElement as HTMLMapElement } from '../mapml-viewer' ;
58+ import { HTMLMapAreaElement as HTMLAreaElement } from '../mapml-viewer' ;
5959
6060window . MapML = {
6161 HTMLMapmlViewerElement,
@@ -67,6 +67,6 @@ window.MapML = {
6767 HTMLSelectElement,
6868 HTMLLinkElement,
6969 HTMLStyleElement,
70- HTMLWebMapElement ,
71- HTMLMapAreaElement
70+ HTMLMapElement ,
71+ HTMLAreaElement
7272} ;
Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ export class HTMLWebMapElement extends HTMLMapElement {
685685 this . addEventListener (
686686 'change' ,
687687 function ( e ) {
688- if ( e . target . tagName === 'map-layer ' ) {
688+ if ( e . target . tagName === 'MAP-LAYER ' ) {
689689 this . dispatchEvent (
690690 new CustomEvent ( 'layerchange' , {
691691 details : { target : this , originalEvent : e }
You can’t perform that action at this time.
0 commit comments