Malcolm Meyer

Results 63 comments of Malcolm Meyer

If this is regarding tile id generation for use in something like Mapbox GL JS, you can use `generateId` to generate a tile id from a any property that can...

The current example uses an invalid json file. If you clean that file up using ``` gl-style-validate ``` then run it through the ``` gl-style-migrate ``` as shown here https://github.com/mapbox/mapbox-gl-style-spec...

Sounds good. There are a few other updates I have in mind. I have another issue which might be related to the core...response time is slow to get to the...

Local file geojson provider. You can check the request received log in the output plugin. I think I am right in that the data file is passed to memory by...

Oh thanks that explains what I am experiencing. I will look at adjusting the cache timeout. On Wed, May 22, 2019, 4:57 PM Rich Gwozdz wrote: > Yes, that provider...

A couple more thoughts on this cache. Increasing the cache ttl fixed the behavior I was seeing. Any reason to keep this limit low? Is there a fear that keeping...

Would this be instead of using the built-in maplibre transformRequest? If pmtiles can use custom headers why noot just use the headers and create a fetch source internally using the...

And also, if we use this method with the custom FetchSource, does that mean we need a custom PMTiles for each url we want to use, rather than simply adding...

I figured out your code after reading it through a few times, so here it is for those looking for how to do this: ```Javascript const pmtilesProtocol = new Protocol();...

now that I look at this closer we can add the custom headers from `transformRequest` like this inside the Protocol class: ```Javascript const headers = new Headers({ ...(params?.headers || {})...