You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a viewer that can accept these kind of URLs for testing?
I know you have the viewer that can take the pmtiles files, however as those can't be cached at cloudflare, I was hoping to do some testing with a viewer that can accept the cached formats.
Thanks in advance :-)
The text was updated successfully, but these errors were encountered:
the viewer right now is specific to pmtiles files, the worker turns it into a plain z/x/y URL which does not require any specialized pmtiles-related code. What functionality were you looking to get out of the viewer in particular?
Really just as a quick way to test that the CF worker is up and running and caching is working etc without having to spin up maplibre-gl or anything else.
Maybe having ability to put in a maplibre-gl style JSON with link to the tile source embedded or similar might also be useful for demoing styles etc
Yeah, that should just be a matter of letting the MapLibre-based viewer take plain ZXY urls. I need to split out the "tile inspector" functionality - afterwards I'll add that.
In your (fantastic!) guide here... https://docs.protomaps.com/deploy/cloudflare#_3-create-worker-route
You have the URL format for the worker of:
https://subdomain.mydomain.com/FILENAME/0/0/0.mvt
https://subdomain.mydomain.com/FILENAME.json
Is there a viewer that can accept these kind of URLs for testing?
I know you have the viewer that can take the pmtiles files, however as those can't be cached at cloudflare, I was hoping to do some testing with a viewer that can accept the cached formats.
Thanks in advance :-)
The text was updated successfully, but these errors were encountered: