Module: ol/loadingstrategy

ol/loadingstrategy


import * as olLoadingstrategy from 'ol/loadingstrategy';

函数s

all(extent, resolution){Array<Extent>}

import {all} from 'ol/loadingstrategy';

使用单个请求加载所有要素的策略函数。

Name Type Description
extent Extent

范围。

resolution number

分辨率。

返回值:
Extents.

bbox(extent, resolution){Array<Extent>}

import {bbox} from 'ol/loadingstrategy';

基于视图范围和分辨率加载要素的策略函数。

Name Type Description
extent Extent

范围。

resolution number

分辨率。

返回值:
Extents.

tile(tileGrid){function}

import {tile} from 'ol/loadingstrategy';

创建基于瓦片网格加载要素的策略函数。

Name Type Description
tileGrid TileGrid

瓦片网格。

返回值:
Loading strategy.