Open dabreegster opened 1 year ago
Not sure... Any ideas @acalcutt or others on the Maptiler team? Looking at https://github.com/maptiler/tileserver-gl
I'm only loosely affiliated with Maptiler because I requested access to update tileserver to maplibre and help the community move along some tileserver PRs.
I can't really speak on the API key since I use self-hosted mbtiles here. Typically I see the key specified on the source urls in the style, but they are viewable that way.
Are you trying to using the open source Tileserver-GL or the closed source Maptiler Server?
We're using our own key now. Leaving this issue open to:
npm run dev
work?)
Also, figure out how we're supposed to plumb it around. I can get the key out of Github just fine, but ultimately it winds up in the JS served to the user. Someone could trivially sniff the HTTP request in their browser or check the source. What's common practice here?