MCPcopy Index your code
hub / github.com/Maps4HTML/MapML.js / extent

Method extent

src/map-feature.js:132–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 get extent() {
133 if (this.isConnected) {
134 // if the feature extent is the first time to be calculated or the feature extent is changed (by changing
135 // the innertext of map-coordinates), then calculate feature extent by invoking the getFeatureExtent function
136 if (!this._getFeatureExtent) {
137 this._getFeatureExtent = this._memoizeExtent();
138 }
139 return this._getFeatureExtent();
140 }
141 }
142 get position() {
143 return calculatePosition(this);
144 }

Callers

nothing calls this directly

Calls 1

_memoizeExtentMethod · 0.95

Tested by

no test coverage detected