@cieloazul310/ol-gsi-vt
@cieloazul310/ol-gsi-vt API
レイヤ
<function>
gsiOptVtLayer(options?), <function>
gsiOptVtPaleLayer(options?)
最適化ベクトルタイルのレイヤ、淡色レイヤを生成する関数
Source
Source
import { gsiOptVtLayer } from '@cieloazul310/ol-gsi-vt';
const layer = gsiOptVtLayer();
options?
- layers?:
<Array>
GsiOptVTLayerName[]
描写する最適化ベクトルタイルのソースレイヤ名を配列で記述 - styles?:
<Object>
GsiOptVTLayerStyleOptions
マニュアル記法によるスタイリングを実装するオブジェクト
参照: @cieloazul310/ol-gsi-vt-style API - theme?:
<Object>
ThemeOptions
- palette?:
<Object>
PaletteOptions
- typography?:
<Object>
Partial<Typography>
- zIndex:
<Object>
Partial<Typography>
- palette?:
- attribution?:
string | string[]
出典、帰属を記述 - declutter?:
boolean
地図の点データが重ならないようにする (default totrue
) - background?:
boolean
地図に背景色を設定する (deafult totrue
) - …and VectorTileLayer options
returns
<class>
VectorTileLayer
<function>
gsiVtLayer(options?), <function>
gsiVtPaleLayer(options?)
ベクトルタイルのレイヤ、淡色レイヤを生成する関数
Source
Source
import { gsiVtLayer } from '@cieloazul310/ol-gsi-vt';
const layer = gsiVtLayer();
options?
- layers?:
<Array>
GsiVTLayerName[]
描写するベクトルタイルのソースレイヤ名を配列で記述 - styles?:
<Object>
GsiVTLayerStyleOptions
マニュアル記法によるスタイリングを実装するオブジェクト
参照: @cieloazul310/ol-gsi-vt-style API - theme?:
<Object>
ThemeOptions
- palette?:
<Object>
PaletteOptions
- typography?:
<Object>
Partial<Typography>
- zIndex:
<Object>
Partial<Typography>
- palette?:
- attribution?:
string | string[]
出典、帰属を記述 - declutter?:
boolean
地図の点データが重ならないようにする (default totrue
) - background?:
boolean
地図に背景色を設定する (deafult totrue
) - …and VectorTileLayer options
returns
<class>
VectorTileLayer
アトリビューション
<string>
optVtDefaultAttribution
最適化ベクトルタイルレイヤのデフォルトのアトリビューション
Source
equal to '<a href="https://github.com/gsi-cyberjapan/optimal_bvmap" target="_blank" rel="noopener noreferrer">国土地理院最適化ベクトルタイル</a>'
<string>
vtDefaultAttribution
ベクトルタイルレイヤのデフォルトのアトリビューション
Source
equal to '<a href="https://github.com/gsi-cyberjapan/gsimaps-vector-experiment" target="_blank" rel="noopener noreferrer">国土地理院ベクトルタイル提供実験</a>'