このページは @navaramap/maplibre-style でサポートされているすべての MapLibre Style 仕様機能をリストしています。
各機能の完全な API ドキュメントについては、MapLibre Style Specification を参照してください。
凡例:
- ✅ サポート
- ⚠️ 部分的にサポート
- ❌ 未サポート
完全なドキュメントについては MapLibre Expressions を参照してください。
注意: 標準的な MapLibre の glyphs プロパティ(SDF glyph PBF の読み込み用)はサポートされていません。テキストレンダリングには font-faces を使用して Web フォントを読み込んでください。詳細は フォント設定 を参照してください。
| Name | Status |
|---|
| fill-antialias | ❌ |
| fill-opacity | ✅ |
| fill-layer-opacity | ❌ |
| fill-layer-blend | ❌ |
| fill-color | ✅ |
| fill-outline-color | ❌ |
| fill-translate | ❌ |
| fill-translate-anchor | ❌ |
| fill-pattern | ❌ |
| fill-rounded-corner-distance | ❌ |
| fill-sort-key | ❌ |
| visibility | ✅ |
| line-opacity | ✅ |
| line-layer-opacity | ❌ |
| line-layer-blend | ❌ |
| line-color | ✅ |
| line-translate | ❌ |
| line-translate-anchor | ❌ |
| line-width | ✅ |
| line-gap-width | ❌ |
| line-offset | ❌ |
| line-blur | ✅ |
| line-dasharray | ❌ |
| line-pattern | ❌ |
| line-gradient | ✅ |
| line-cap | ✅ |
| line-join | ❌ |
| line-miter-limit | ❌ |
| line-round-limit | ❌ |
| line-sort-key | ❌ |
| visibility | ✅ |
| icon-opacity | ✅ |
| icon-color | ⚠️ Its alpha is ignored: MapLibre fades only an SDF icon's fill with it, while Navara draws the fill opaque. `icon-opacity` fades the whole icon, halo included |
| icon-halo-color | ✅ |
| icon-halo-width | ⚠️ Ends where the icon's distance field ends (6 icon pixels in MapLibre sprites); a wider halo is cut off there, where MapLibre fills the icon's whole box |
| icon-halo-blur | ⚠️ Ends where the icon's distance field ends, like `icon-halo-width` |
| icon-translate | ⚠️ Follows zoom, but is the same for every feature in the layer. With the `map` anchor it turns with the camera heading but, unlike MapLibre, is not foreshortened by pitch |
| icon-translate-anchor | ✅ |
| text-opacity | ✅ |
| text-color | ✅ |
| text-halo-color | ✅ |
| text-halo-width | ✅ |
| text-halo-blur | ✅ |
| text-translate | ⚠️ Follows zoom, but is the same for every feature in the layer. With the `map` anchor it turns with the camera heading but, unlike MapLibre, is not foreshortened by pitch |
| text-translate-anchor | ✅ |
| symbol-placement | ⚠️ Line placement labels line geometry only, not polygon outlines |
| symbol-spacing | ⚠️ Evaluated once at layer construction |
| symbol-avoid-edges | ❌ |
| symbol-sort-key | ⚠️ Sets placement priority only, not draw order |
| symbol-z-order | ❌ |
| icon-allow-overlap | ✅ |
| icon-overlap | ✅ |
| icon-ignore-placement | ✅ |
| icon-optional | ✅ |
| icon-rotation-alignment | ⚠️ Evaluated once at layer construction on line placement |
| icon-size | ✅ |
| icon-text-fit | ❌ |
| icon-text-fit-padding | ❌ |
| icon-image | ✅ |
| icon-rotate | ✅ |
| icon-padding | ⚠️ Follows zoom, but is the same for every feature in the layer |
| icon-keep-upright | ❌ |
| icon-offset | ✅ |
| icon-anchor | ✅ |
| icon-pitch-alignment | ⚠️ On-screen icons turn by ground bearing on lines |
| text-pitch-alignment | ✅ |
| text-rotation-alignment | ✅ |
| text-field | ✅ |
| text-font | ✅ |
| text-size | ✅ |
| text-max-width | ⚠️ Follows zoom, but is the same for every feature in the layer |
| text-line-height | ✅ |
| text-letter-spacing | ✅ |
| text-justify | ✅ |
| text-radial-offset | ✅ |
| text-variable-anchor | ⚠️ With overlap allowed and every anchor taken, the label overlaps at the anchor it is at rather than the first |
| text-variable-anchor-offset | ⚠️ With overlap allowed and every anchor taken, the label overlaps at the anchor it is at rather than the first |
| text-anchor | ✅ |
| text-max-angle | ✅ |
| text-writing-mode | ❌ |
| text-rotate | ✅ |
| text-padding | ✅ |
| text-keep-upright | ✅ |
| text-transform | ✅ |
| text-offset | ✅ |
| text-allow-overlap | ✅ |
| text-overlap | ✅ |
| text-ignore-placement | ✅ |
| text-optional | ✅ |
| symbol-height-offset | ❌ |
| symbol-height-anchor | ❌ |
| visibility | ✅ |
| circle-radius | ✅ |
| circle-color | ✅ |
| circle-blur | ❌ |
| circle-opacity | ✅ |
| circle-translate | ❌ |
| circle-translate-anchor | ❌ |
| circle-pitch-scale | ❌ |
| circle-pitch-alignment | ❌ |
| circle-stroke-width | ❌ |
| circle-stroke-color | ❌ |
| circle-stroke-opacity | ❌ |
| circle-sort-key | ❌ |
| visibility | ✅ |
| heatmap-radius | ❌ |
| heatmap-weight | ❌ |
| heatmap-intensity | ❌ |
| heatmap-color | ❌ |
| heatmap-opacity | ❌ |
| visibility | ❌ |
| fill-extrusion-opacity | ✅ |
| fill-extrusion-color | ✅ |
| fill-extrusion-translate | ❌ |
| fill-extrusion-translate-anchor | ❌ |
| fill-extrusion-pattern | ❌ |
| fill-extrusion-height | ✅ |
| fill-extrusion-base | ✅ |
| fill-extrusion-vertical-gradient | ❌ |
| visibility | ✅ |
| fill-extrusion-rounded-corner-distance | ❌ |
| raster-opacity | ❌ |
| raster-layer-blend | ❌ |
| raster-hue-rotate | ❌ |
| raster-brightness-min | ❌ |
| raster-brightness-max | ❌ |
| raster-saturation | ❌ |
| raster-contrast | ❌ |
| resampling | ❌ |
| raster-resampling | ❌ |
| raster-fade-duration | ⚠️ Ignored; tiles appear without fading |
| visibility | ✅ |
| hillshade-illumination-direction | ❌ |
| hillshade-illumination-altitude | ❌ |
| hillshade-illumination-anchor | ❌ |
| hillshade-exaggeration | ❌ |
| hillshade-shadow-color | ❌ |
| hillshade-highlight-color | ❌ |
| hillshade-accent-color | ❌ |
| hillshade-method | ❌ |
| resampling | ❌ |
| visibility | ✅ |
| color-relief-opacity | ✅ |
| color-relief-color | ✅ |
| resampling | ✅ |
| visibility | ✅ |
| background-color | ✅ |
| background-pattern | ❌ |
| background-opacity | ✅ |
| visibility | ✅ |
| Name | Status |
|---|
| type | ⚠️ Ignored; always renders a globe |
| Name | Status |
|---|
| sprite | ⚠️ The `stretchX`/`stretchY`/`content` metadata is ignored |
注意: スプライトの URL には、絶対 URL またはオリジンからの相対パス(/path/to/sprite)を指定します。../sprite のようなパスはスタイルの URL を基準には解決されません。MapLibre と同様に、高 DPI の画面では @2x のシートを使用します。いずれかのスプライトの読み込みに失敗した場合、後の再読み込みで成功するまで、すべてのスプライトが使用されません。MapLibre と同様に、スプライトに含まれない icon-image の名前は何も描画されません。sprite を持たないスタイルでは、Navara はその名前を画像の URL として読み込みます。"sdf": true が指定されたアイコンには icon-color と icon-halo-* が適用されます。
| Name | Status |
|---|
| state | ⚠️ Defaults only; no API to change the state |
| Name | Status |
|---|
| duration | ⚠️ Ignored; style changes apply immediately |
| delay | ⚠️ Ignored; style changes apply immediately |