Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document support for PMTiles #963

Closed
louwers opened this issue Jan 7, 2025 · 4 comments
Closed

Document support for PMTiles #963

louwers opened this issue Jan 7, 2025 · 4 comments
Assignees

Comments

@louwers
Copy link
Collaborator

louwers commented Jan 7, 2025

PMTiles support for MapLibre Native was merged with maplibre/maplibre-native#2882 from @tdcosta100. Built-in support will be available in the upcoming releases for iOS and Android.

I want to document support for it in the MapLibre Style Spec documentation.

@HarelM
Copy link
Collaborator

HarelM commented Jan 7, 2025

Is mbtiles documented as part of the spec?
I tend to think it should be part of native docs only...?
IDK...

@louwers
Copy link
Collaborator Author

louwers commented Jan 7, 2025

This is written in the MapLibre Style Spec Docs now:

A vector tile source. Tiles must be in Mapbox Vector Tile format.

Which is incorrect.

I can also document MBTiles.

@HarelM
Copy link
Collaborator

HarelM commented Jan 7, 2025

Tiles in pmtiles and mbtiles are in MVT format for a vector source... This is still correct...

@louwers
Copy link
Collaborator Author

louwers commented Jan 7, 2025

OK yes, fair enough. Later it says:

An array of one or more tile source URLs, as in the TileJSON spec.

TileJSON keeps open ended what formats are supported.

An array of tile endpoints. {z}, {x} and {y}, if present, are replaced with the corresponding integers. If multiple endpoints are specified, clients may use any combination of endpoints. All endpoint urls MUST be absolute. All endpoints MUST return the same content for the same URL. The array MUST contain at least one endpoint. The tile extension is NOT limited to any particular format. Some of the more popular are: mvt, vector.pbf, png, webp, and jpg.

@louwers louwers closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants