Skip to main content

@mapgear/mapengine > Map > UpdateSize

Map.UpdateSize() method

Refresh the map size in the DOM. Usefull when the DOM resizes and the map doesn't detect it automatically, causing a distorted map.

Signature:
UpdateSize(): void;
Returns:

void