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

Add in Railway Layers without Causing Lag #10

Open
artemis-beta opened this issue Feb 14, 2021 · 1 comment
Open

Add in Railway Layers without Causing Lag #10

artemis-beta opened this issue Feb 14, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@artemis-beta
Copy link
Owner

artemis-beta commented Feb 14, 2021

This is a difficult one, most map hosting websites have built their own tiles using the OSM data which are loaded as you zoom. That way they do not have to worry about loading too much data at a time. There are a lot of railway lines and showing them all no surprise causes a lot of lag. I do not yet know how to best approach this as making custom tiles would involve a high amount of storage. The best solution would be if the GeoJSON data can be converted to some kind of SVG which is just placed on top of each tile.

@artemis-beta artemis-beta added bug Something isn't working enhancement New feature or request labels Feb 14, 2021
@Daniel-Gill
Copy link
Collaborator

Daniel-Gill commented Feb 17, 2021

Did a quick search for this, found something that looks pretty interesting:

https://github.com/gagan-bansal/geojson2svg

Written in JS so should hopefully be able to add in quite easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants