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

More tiles providers from leaflet-providers #45

Closed
s-celles opened this issue Oct 30, 2020 · 2 comments
Closed

More tiles providers from leaflet-providers #45

s-celles opened this issue Oct 30, 2020 · 2 comments

Comments

@s-celles
Copy link
Contributor

s-celles commented Oct 30, 2020

Hello,

I found that https://github.com/leaflet-extras/leaflet-providers provides a large number of tiles providers.
See https://github.com/leaflet-extras/leaflet-providers/blob/master/leaflet-providers.js

Leaflet tiles url uses s, z, x, y, r variables. According to https://leafletjs.com/reference-1.4.0.html#tilelayer

{s} means one of the available subdomains (used sequentially to help with browser parallel requests per domain limitation; subdomain values are specified in options; a, b or c by default, can be omitted), {z} — zoom level, {x} and {y} — tile coordinates. {r} can be used to add "@2x" to the URL to load retina tiles.

Maybe GPXSee-maps could provide same providers also.

Kind regards

PS : will need tumic0/GPXSee#317

@s-celles
Copy link
Contributor Author

For the little story, I found leaflet-providers browsing at MSFS2020-cockpit-companion code.

MSFS2020-cockpit-companion have a nice map overlay feature with OpenAIP map.

See https://github.com/hankhank10/MSFS2020-cockpit-companion/blob/5ee36a84408aded2fa8e5e9c5b13df95a11f1a39/templates/glass.html#L512-L520 for OpenAIP map

@tumic0
Copy link
Owner

tumic0 commented Oct 30, 2020

Most of the leaflet sources are already here. From those that aren't, which one do you miss (and what exactly is so uniq on that source, if it is yet another OpenStreet map based map)?

@tumic0 tumic0 closed this as completed Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants