Skip to content

Commit c026b91

Browse files
committed
Create window.MapML namespace with various HTML*Element interfaces
1 parent 93966a2 commit c026b91

File tree

14 files changed

+47
-47
lines changed

14 files changed

+47
-47
lines changed

src/layer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Util } from './mapml/utils/Util';
22
import { MapMLLayer, mapMLLayer } from './mapml/layers/MapMLLayer';
33
import { createLayerControlHTML } from './mapml/elementSupport/layers/createLayerControlForLayer';
44

5-
export class HTMLMapLayerElement extends HTMLElement {
5+
export class HTMLLayerElement extends HTMLElement {
66
static get observedAttributes() {
77
return ['src', 'label', 'checked', 'hidden', 'opacity'];
88
}

src/map-a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export class HTMLMapAnchorElement extends HTMLElement {
1+
export class HTMLAnchorElement extends HTMLElement {
22
static get observedAttributes() {
33
return ['href', 'target', 'type', 'inplace'];
44
}

src/map-extent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { extentLayer } from './mapml/layers/ExtentLayer';
33
import { createLayerControlExtentHTML } from './mapml/elementSupport/extents/createLayerControlForExtent';
44

55
/* global M */
6-
export class HTMLMapExtentElement extends HTMLElement {
6+
export class HTMLExtentElement extends HTMLElement {
77
static get observedAttributes() {
88
return ['checked', 'label', 'opacity', 'hidden'];
99
}

src/map-feature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Util } from './mapml/utils/Util';
22

3-
export class HTMLMapFeatureElement extends HTMLElement {
3+
export class HTMLFeatureElement extends HTMLElement {
44
static get observedAttributes() {
55
return ['zoom', 'min', 'max'];
66
}

src/map-geometry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export class HTMLMapGeometryElement extends HTMLElement {
1+
export class HTMLGeometryElement extends HTMLElement {
22
static get observedAttributes() {
33
return ['cs'];
44
}

src/map-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { HeightInput } from './mapml/elementSupport/inputs/heightInput';
66
import { LocationInput } from './mapml/elementSupport/inputs/locationInput';
77

88
/* global M */
9-
export class HTMLMapInputElement extends HTMLElement {
9+
export class HTMLInputElement extends HTMLElement {
1010
static get observedAttributes() {
1111
return [
1212
'name',

src/map-link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { templatedFeaturesLayer } from './mapml/layers/TemplatedFeaturesLayer';
55
import { templatedPMTilesLayer } from './mapml/layers/TemplatedPMTilesLayer';
66
/* global M */
77

8-
export class HTMLMapLinkElement extends HTMLElement {
8+
export class HTMLLinkElement extends HTMLElement {
99
static get observedAttributes() {
1010
return [
1111
'type',

src/map-meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export class HTMLMapMetaElement extends HTMLElement {
1+
export class HTMLMetaElement extends HTMLElement {
22
static get observedAttributes() {
33
return ['name', 'content'];
44
}

src/map-properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export class HTMLMapPropertiesElement extends HTMLElement {
1+
export class HTMLPropertiesElement extends HTMLElement {
22
static get observedAttributes() {
33
return;
44
}

src/map-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export class HTMLMapSelectElement extends HTMLElement {
1+
export class HTMLSelectElement extends HTMLElement {
22
static get observedAttributes() {
33
return ['name', 'id'];
44
}

0 commit comments

Comments
 (0)