@cieloazul310/ol-gsi-vt-style-utils
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

@cieloazul310/ol-gsi-vt-utils

国土地理院ベクトルタイルのOpenLayers用プリセット

@cieloazul310/ol-gsi-vt-style-utils@cieloazul310/ol-gsi-vtのためのユーティリティパッケージです。

npm version

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

npm version

メインパッケージ。4種類のレイヤと以下の2つのパッケージが含まれる。

@cieloazul310/ol-gsi-vt-style

npm version

最適化ベクトルタイル及びベクトルタイルのプリセットのスタイルを定義したパッケージ。

@cieloazul310/ol-gsi-vt-style-utils

npm version

テーマや型定義、注記の地物コードのフィルタリングなどの関数を搭載したパッケージ。

ベクトルタイルの仕様

地理院地図Vector(仮称)提供実験
https://github.com/gsi-cyberjapan/gsimaps-vector-experiment

最適化ベクトルタイル試験公開
https://github.com/gsi-cyberjapan/optimal_bvmap

国土地理院によるベクトルタイルは提供実験及び試験公開であるため、今後仕様変更や公開終了の可能性があります。留意してください。

Package Sidebar

Install

npm i @cieloazul310/ol-gsi-vt-style-utils

Weekly Downloads

3

Version

1.3.1

License

ISC

Unpacked Size

103 kB

Total Files

166

Last publish

Collaborators

  • cieloazul310