Appearance
Documentation / @geoverse/core-ol / TiandituSourceOptions
Interface: TiandituSourceOptions
Defined in: packages/core-ol/src/sources/tianditu.ts:10
Extends
Options
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
ts
ImageTileOptions.attributionsattributionsCollapsible?
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
ts
ImageTileOptions.attributionsCollapsiblecrossOrigin?
ts
optional crossOrigin?: CrossOriginAttribute;Defined in: node_modules/.pnpm/ol@10.9.0/node_modules/ol/source/ImageTile.d.ts:80
The crossOrigin property to pass to loaders for image data.
Inherited from
ts
ImageTileOptions.crossOrigingutter?
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
ts
ImageTileOptions.gutterinterpolate?
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
ts
ImageTileOptions.interpolatelayerType?
ts
optional layerType?: TiandituLayerType;Defined in: packages/core-ol/src/sources/tianditu.ts:17
图层类型,默认 vec
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
ts
ImageTileOptions.loadermaxResolution?
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
ts
ImageTileOptions.maxResolutionmaxZoom?
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
ts
ImageTileOptions.maxZoomminZoom?
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
ts
ImageTileOptions.minZoomprojection?
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
ts
ImageTileOptions.projectionprojectionType?
ts
optional projectionType?: TiandituProjection;Defined in: packages/core-ol/src/sources/tianditu.ts:19
投影族,默认 w(EPSG:3857)
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
ts
ImageTileOptions.referrerPolicystate?
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
ts
ImageTileOptions.statetileGrid?
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
ts
ImageTileOptions.tileGridtileSize?
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
ts
ImageTileOptions.tileSizetoken
ts
token: string;Defined in: packages/core-ol/src/sources/tianditu.ts:15
天地图开发者 token(必填,去 https://console.tianditu.gov.cn/ 申请)。 旧版 vz-map 将 token 硬编码在源码中,GeoVerse 要求显式注入。
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
ts
ImageTileOptions.transitionurl?
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
ts
ImageTileOptions.urlwrapX?
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
ts
ImageTileOptions.wrapXzDirection?
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
ts
ImageTileOptions.zDirection