Skip to content

Documentation / @geoverse/core-ol / GaodeSourceOptions

Interface: GaodeSourceOptions

Defined in: packages/core-ol/src/sources/gaode.ts:10

Extends

  • Omit<ImageTileOptions, "crossOrigin">

Properties

attributions?

ts
optional attributions?: AttributionLike;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:25

Attributions.

Inherited from

TiandituSourceOptions.attributions


attributionsCollapsible?

ts
optional attributionsCollapsible?: boolean;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:29

Attributions are collapsible.

Inherited from

TiandituSourceOptions.attributionsCollapsible


crossOrigin?

ts
optional crossOrigin?: CrossOriginAttribute | null;

Defined in: packages/core-ol/src/sources/gaode.ts:20

跨域属性,默认 anonymous; 传 null 表示不设置 crossOrigin(用于无 CORS 头的瓦片,如路况)。


gutter?

ts
optional gutter?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:48

The size in pixels of the gutter around data tiles to ignore. This allows artifacts of rendering at tile edges to be ignored. Supported data should be wider and taller than the tile size by a value of 2 x gutter.

Inherited from

TiandituSourceOptions.gutter


interpolate?

ts
optional interpolate?: boolean;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:76

Use interpolated values when resampling.

Inherited from

TiandituSourceOptions.interpolate


loader?

ts
optional loader?: Loader;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:21

Data loader. Called with z, x, and y tile coordinates. Returns an import ("../DataTile.js").ImageLike image for a tile or a promise for the same. The promise should not resolve until the image is loaded. If the url option is provided, a loader will be created.

Inherited from

TiandituSourceOptions.loader


maxResolution?

ts
optional maxResolution?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:52

Optional tile grid resolution at level zero. Not used if tileGrid is provided.

Inherited from

TiandituSourceOptions.maxResolution


maxZoom?

ts
optional maxZoom?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:33

Optional max zoom level. Not used if tileGrid is provided.

Inherited from

TiandituSourceOptions.maxZoom


minZoom?

ts
optional minZoom?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:37

Optional min zoom level. Not used if tileGrid is provided.

Inherited from

TiandituSourceOptions.minZoom


projection?

ts
optional projection?: ProjectionLike;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:56

Tile projection.

Inherited from

TiandituSourceOptions.projection


referrerPolicy?

ts
optional referrerPolicy?: ReferrerPolicy;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:84

The referrerPolicy property for loaded images.

Inherited from

TiandituSourceOptions.referrerPolicy


state?

ts
optional state?: State;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:64

The source state.

Inherited from

TiandituSourceOptions.state


style?

ts
optional style?: GaodeStyle;

Defined in: packages/core-ol/src/sources/gaode.ts:15

底图样式:矢量 vec(默认)/ 影像 sat


tileGrid?

ts
optional tileGrid?: TileGrid;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:60

Tile grid.

Inherited from

TiandituSourceOptions.tileGrid


tileSize?

ts
optional tileSize?: number | Size;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:42

The pixel width and height of the source tiles. This may be different than the rendered pixel size if a tileGrid is provided.

Inherited from

TiandituSourceOptions.tileSize


transition?

ts
optional transition?: number;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:72

Transition time when fading in new tiles (in miliseconds).

Inherited from

TiandituSourceOptions.transition


url?

ts
optional url?: UrlLike;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:15

The image URL template. In addition to a single URL template, an array of URL templates or a function can be provided. If a function is provided, it will be called with z, x, y tile coordinates and loader options and should return a URL.

Inherited from

TiandituSourceOptions.url


wrapX?

ts
optional wrapX?: boolean;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:68

Render tiles beyond the antimeridian.

Inherited from

TiandituSourceOptions.wrapX


zDirection?

ts
optional zDirection?: number | NearestDirectionFunction;

Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:89

Choose whether to use tiles with a higher or lower zoom level when between integer zoom levels. See module :ol/tilegrid/TileGrid~TileGrid#getZForResolution.

Inherited from

TiandituSourceOptions.zDirection