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

Method _changeHeight

src/web-map.js:1084–1092  ·  view source on GitHub ↗
(height)

Source from the content-addressed store, hash-verified

1082 }
1083 }
1084 _changeHeight(height) {
1085 if (this._container) {
1086 this._container.style.height = height + 'px';
1087 document.querySelector('[is="web-map"]').style.height = height + 'px';
1088 }
1089 if (this._map) {
1090 this._map.invalidateSize(false);
1091 }
1092 }
1093 zoomTo(lat, lon, zoom) {
1094 zoom = Number.isInteger(+zoom) ? +zoom : this.zoom;
1095 let location = new LatLng(+lat, +lon);

Callers 2

connectedCallbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected