Spec-Zone.ru › OpenLayers

ol/size


import * as olSize from 'ol/size';

Functions

toSize(size, dest){Size}

size.js, line 61
import {toSize} from 'ol/size';

Returns an Size array for the passed in number (meaning: square) or Size array. (meaning: non-square),

Name Type Description
size number | Size

Width and height.

dest Size | undefined

Optional reusable size array.

Returns:
Size.

Type Definitions

Size{Array.<number>}

An array of numbers representing a size: [width, height].

© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_size.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API