viewportSize property

Size2D viewportSize

The size of this map view in physical pixels. If internally the map view's render surface is not attached yet (see: MapViewLifecycleListener), or after the map view has been destroyed then a Size2D with zero width and height is returned. Gets the size of this map view in physical pixels.

Implementation

Size2D get viewportSize;