Download Macau map in PMTiles format

A map built from OpenStreetMap data, ready to download

Customize the map

Open this place's area in the constructor and adjust everything to your needs

Open in constructor →

Map passport

Area116 km²

What this map contains by default

This is how the map is built as-is — every setting can be changed in the constructor.

FormatPMTiles .pmtiles
Stylestandard change
Detailauto change
House numbersoff — can be enabled in the editor change
Points of interestnot visible at this scale change
Coordinate systemWGS 84 (auto) change
Sheet sizeauto change
Relief & gridoff change

About PMTiles

Map of Macau in PMTiles — an export of real OpenStreetMap data for the selected area.

PMTiles is a serverless vector tile archive for web maps. A single file contains all tiles accessible via HTTP range requests. Ideal for hosting on S3, CloudFlare R2, GitHub Pages without a tile server.

Which layers are in the file

The set of layers depends on the selected area.

File size

The expected size of the PMTiles file for Macau is about 1.6 MB; the exact size depends on the chosen layers and area.

Coordinate systems

WGS 84 (EPSG:4326), selectable in the wizard

Units

Meters (projected in the chosen coordinate system)

CategoryCloud
File extension.pmtiles
TierOpen Beta

How to use PMTiles for Macau

  1. PMTiles Viewer (pmtiles.io) — drag the file into the browser and see the contents right away: bounds, zooms, layers inside the tiles.
  2. MapLibre GL JS — add the pmtiles library, register the protocol and point at a source of the form pmtiles://https://your-domain/map.pmtiles, then describe the layers in style.json.
  3. Static hosting (S3, Cloudflare R2, GitHub Pages, Nginx) — put the file next to the site; make sure the server serves range requests (Accept-Ranges) and CORS headers if the domain is different.

Programs that open PMTiles

MapLibre GL JSLeafletPMTiles ViewerQGISFelt

FAQ: PMTiles for Macau

Do I need a tile server for PMTiles?

No, the file is served via any static hosting (S3, R2, GitHub Pages) with range request support.

Which libraries support PMTiles?

MapLibre GL JS, Leaflet (via plugin), deck.gl and others via the pmtiles JavaScript library.

Up to which zoom is the pyramid built?

Up to 12. The limit protects against excessively long encoding: tiles are assembled by going through the objects, and at deep zooms that becomes too expensive. If you need larger-scale plans, take MBTiles — the tiles there are raster and the depth does not run into this limit.

Why was the export refused for a large dense area?

The format has a limit on the number of objects in an export. When an area clearly exceeds it, we refuse right away and suggest an alternative instead of computing for a long time and failing on a timeout. Reduce the area, lower the level of detail or keep only the layers you need.

Why is the map empty after I connect it?

Vector tiles contain no styling — they need a style. Describe layers in style.json referring to the PMTiles source and to the layer names inside the tiles, and check that the hosting serves range requests: without them the library cannot read the file piece by piece.

Other formats for Macau

All 128 formats for Macau →

PMTiles for nearby places

All formats for Macau