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

Method connectedCallback

src/map-area.js:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60 attributeChangedCallback(name, oldValue, newValue) {}
61 connectedCallback() {
62 this.parentElement.whenReady().then(() => {
63 this._attachedToMap();
64 });
65 }
66 _attachedToMap() {
67 // need the map to convert container points to LatLngs
68 this._map = this.parentElement._map;

Callers

nothing calls this directly

Calls 2

_attachedToMapMethod · 0.95
whenReadyMethod · 0.45

Tested by

no test coverage detected