Home

Awesome

maplibre-vscode-extension

GitHub Visual Studio Marketplace Downloads Visual Studio Marketplace Installs Visual Studio Marketplace Rating

Usage

  1. Install the extension
  2. open style.json in editor
  3. open command palette and run MapLibre: Launch Viewer
  4. Viewer will open in new tab. When edit style.json, the viewer will update automatically.

Validation

Supported protocols

"sources": {
    "openmaptiles": {
      "type": "vector",
      "url": "pmtiles://https://tile.openstreetmap.jp/static/planet-20240729.pmtiles"
      // "tiles": ["pmtiles://https://tile.openstreetmap.jp/static/planet-20240729.pmtiles/{z}/{x}/{y}"] is also okay
    },
    "takeshima": {
      "type": "vector",
      "url": "https://tile.openstreetmap.jp/data/takeshima.json"
    }
},

attribution