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

Method _changeWidth

src/web-map.js:1075–1083  ·  view source on GitHub ↗
(width)

Source from the content-addressed store, hash-verified

1073 }
1074
1075 _changeWidth(width) {
1076 if (this._container) {
1077 this._container.style.width = width + 'px';
1078 document.querySelector('[is="web-map"]').style.width = width + 'px';
1079 }
1080 if (this._map) {
1081 this._map.invalidateSize(false);
1082 }
1083 }
1084 _changeHeight(height) {
1085 if (this._container) {
1086 this._container.style.height = height + 'px';

Callers 2

connectedCallbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected