@cieloazul310/ol-gsi-vt-utils
国土地理院ベクトルタイルのOpenLayers用プリセット
@cieloazul310/ol-gsi-vt-style-utils
は @cieloazul310/ol-gsi-vt
のためのユーティリティパッケージです。
API
テーマ
- defaultTheme
- mergeDefaultTheme(defaultTheme)
Palette
- defaultPalette
- palePalette
- mergeDefaultPalette(paletteOptions?, initialPalette?)
Typography
- defaultTypography
- mergeDefaultTypogrphy(typographyOptions?, initialTypography?)
zIndex
- defaultZIndex
関数
for source-layers
ベクトルタイルのソースレイヤの取捨選択用の定数と関数
- gsiOptVtLayerNameCollection
- gsiOptVtLayerExclude(layerNameCollection)
- gsiVtLayerNameCollection
- gsiVtLayerExclude(layerNameCollection)
注記
マニュアル記法で注記のスタイルを記述する際に、地物のフィルタリングと型安全を保つ関数。
- annoCodeIsAdress(code)
- annoCodeIsAdm(code)
- annoCodeIsAirport(code)
- annoCodeIsElevation(code)
- annoCodeIsGreen(code)
- annoCodeIsLandformPoint(code)
- annoCodeIsPort(code)
- annoCodeIsSchool(code)
- annoCodeIsTerrain(code)
- annoCodeIsTransp(code)
- annoCodeIsVegetation(code)
- annoCodeIsWater(code)
その他
- zoomToResolution(zoomLevel)
- dspPos(dspPos?, arrng?, radius?)
types
最適化ベクトルタイル及びベクトルタイルの地物の型定義
- GsiOptVTFeatureProperties<VTCode, T>
- GsiVTFeatureProperties<FTCode, T>
パッケージ
@cieloazul310/ol-gsi-vt
メインパッケージ。4種類のレイヤと以下の2つのパッケージが含まれる。
@cieloazul310/ol-gsi-vt-style
最適化ベクトルタイル及びベクトルタイルのプリセットのスタイルを定義したパッケージ。
@cieloazul310/ol-gsi-vt-style-utils
テーマや型定義、注記の地物コードのフィルタリングなどの関数を搭載したパッケージ。
ベクトルタイルの仕様
地理院地図Vector(仮称)提供実験
https://github.com/gsi-cyberjapan/gsimaps-vector-experiment
最適化ベクトルタイル試験公開
https://github.com/gsi-cyberjapan/optimal_bvmap
国土地理院によるベクトルタイルは提供実験及び試験公開であるため、今後仕様変更や公開終了の可能性があります。留意してください。