マップスタイルコンバーター

Mapboxスタイル JSONと簡略化スタイルスキーマ間の変換

インポート&エクスポート

Input Style

Output Style

Mapbox GL Style

Converted style will appear here

Format Reference

GeoJSON: Simple styling properties embedded in features

Mapbox GL: Layer-based styling with paint/layout properties

Leaflet: PathOptions object with color, weight, opacity

OpenLayers: Style objects with stroke and fill components

CSS: CSS custom properties for use in stylesheets

マップスタイル形式間の変換。入出力形式:Mapbox GL JSON(完全仕様)、簡略化JSON(色/ストロークのみ)、基本的なLeaflet pathOptions。Mapbox GLスタイルはレイヤー、ソース、スプライト、式を含む複雑なドキュメントです - このツールは一般的な変換を処理。

Mapbox GLから簡略化へ:各レイヤーからfill-color、line-color、line-width、fill-opacityをフラット構造に抽出。非Mapboxレンダラーへのスタイル移植やドキュメント作成に便利。

簡略化からMapbox GLへ:提供された色でスタイル設定されたレイヤーを持つ基本的なスタイルJSONを生成。カスタマイズの出発点であり、本番用スタイルではありません。Mapbox式やデータ駆動スタイリングは変換しません。

100%クライアント側処理 - データは常にプライベートでデバイスから外に出ません