Platform

Bring your data. Analyze it. Style it. Share it.

MapScale: maps, geocoding and spreadsheet-to-map tools for Thailand. Drop a spreadsheet, get a shareable map →

MapScale is Thai-first location intelligence. Upload your own GeoJSON, analyze it against Thai reference and hazard data, design how it looks, and share a map with one URL. Developers start with the API, SDKs and an MCP server (AI-assistant tools). Enterprise teams start with a data review.

Two ways in

Developers

Build with the API

REST API, MapLibre and React SDKs, an MCP server (it lets AI assistants and coding agents call MapScale), and a one-click trial key with no signup.

Enterprise

Start from a review

A Thailand data catalog, hazard and risk layers, your own datasets and spatial analysis. We scope it with you in a 30-minute review.

From a file to a shared map

  1. Step 1

    Bring your data

    Upload a GeoJSON FeatureCollection. MapScale stores it in your account and serves it as vector tiles under a ds_ tileset id. Datasets are private to your account unless you make them public.

    Read the upload guide →
    curl -X POST "https://api.mapscale.io/v1/datasets?name=Branches&slug=branches" \
      -H "x-api-key: sk_live_YOUR_SECRET_KEY" \
      -H "content-type: application/json" \
      --data-binary @branches.geojson
    
    # -> { "tilesetId": "ds_...", "slug": "branches", "featureCount": 3, ... }
    Upload with a secret key, from your server or terminal.
  2. Step 2

    Analyze

    Run buffer, aggregate, nearest and intersect on your datasets, and group results by Thai province, district or subdistrict. Results come back as GeoJSON or JSON.

    Read the analysis guide →
    curl -X POST "https://api.mapscale.io/v1/analysis/buffer" \
      -H "x-api-key: sk_live_YOUR_SECRET_KEY" \
      -H "content-type: application/json" \
      -d '{ "datasetId": "YOUR_DATASET_ID", "meters": 1000 }'
    
    # -> a GeoJSON FeatureCollection you can draw on the map
    Secret key. Each operation's fields are listed in the API reference.
  3. Step 3

    Style

    Design the overlay as MapLibre layers over the MapScale streets basemap, then save it as a style with its own id.

    Read the styling guide →
    curl -X POST "https://api.mapscale.io/v1/styles" \
      -H "x-api-key: sk_live_YOUR_SECRET_KEY" \
      -H "content-type: application/json" \
      -d '{
        "name": "Branches by staff",
        "overlay": [{
          "id": "branches",
          "type": "circle",
          "source": "ds_YOUR_DATASET_ID",
          "paint": { "circle-color": "#0c4a4a", "circle-radius": 8 }
        }]
      }'
    
    # -> { "styleId": "st_...", ... }
    Secret key. Layer types and expressions follow the saved-style reference.
  4. Step 4

    Share

    Load the saved style in MapLibre with one URL. Mark it public and people outside your account can open it too.

    Read the sharing guide →
    const map = new maplibregl.Map({
      container: "map",
      style: "https://api.mapscale.io/styles/v1/st_YOUR_STYLE_ID?key=pk_live_YOUR_PUBLISHABLE_KEY",
      center: [100.5018, 13.7563],
      zoom: 5,
    })
    Browser code uses a publishable key, never a secret key.

Thai data to start from

Layers MapScale already publishes for Thailand. Each page states its source, coverage and limits. The catalog API serves the same layers to your code.

See the Thailand map

The live Thailand map on the home page runs on the same tiles and styles the API serves.

Open the live map
Integration review

Bring one broken workflow.
Leave with a measurable fix.

Tell us where Thai location data is costing time or conversion. We will review the workflow, the data shape, and the smallest useful MapScale integration.

Sent only to the MapScale team. Never include API keys or customer records.