-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Support OpenStreetMap vector tiles with Maplibre-gl-js #1038
Conversation
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
f5e4b1a
to
ef19930
Compare
Hi @benstonezhang Or send some docs on how to instal the service to test the pr. |
Sorry, I deploy this on my NAS in home and my ISP provide only private ipv4 address(100.64.0.0/16), so can not access from public internet. I can send you some screenshot if need. I may need to buy a SSD to host data of the postgresql database -- the mechanical hard disk is too slow for postgis select operation. :-( |
Can you post some documentation which services are required to deploy this? |
Service deploy:
Done |
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @benstonezhang,
sorry for the late reply. I only found time today to setup a tileserver. (Which is still not fully running. But after a while I found a demo url to test your PR:
https://demotiles.maplibre.org/style.json
Blame is on me, but it would have saved some time in the review.
So there is two things which I think need to be done:
- Rebase the branch onto the current master
- Adapt the CSP as otherwise the tiles won't load
Therefore edit the PageController.php in line 124 add 'maplibreStreetStyleURL'
Hi @tacruc, thanks for your review and comments. I'm in a tour and will work to update the PR several days later. |
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
Signed-off-by: Benstone Zhang <[email protected]>
# Conflicts: # package-lock.json # package.json
Hi @tacruc, PR updated. Please check. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Allow to self-host vector tiles server based on openmaptiles, martin, nginx with cache and maplibre-gl-js.