MCPcopy Create free account
hub / github.com/Maps4HTML/MapML.js / projection

Method projection

src/web-map.js:91–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90 }
91 get projection() {
92 return this.hasAttribute('projection')
93 ? this.getAttribute('projection')
94 : 'OSMTILE';
95 }
96 set projection(val) {
97 if (val) {
98 this.whenProjectionDefined(val)

Callers

nothing calls this directly

Calls 3

whenProjectionDefinedMethod · 0.95
getAttributeMethod · 0.80
setAttributeMethod · 0.80

Tested by

no test coverage detected