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

Leaflet API supports {r} to switch to @2x or @3x pmtiles file #7

Closed
bdon opened this issue Mar 4, 2021 · 1 comment
Closed

Leaflet API supports {r} to switch to @2x or @3x pmtiles file #7

bdon opened this issue Mar 4, 2021 · 1 comment

Comments

@bdon
Copy link
Member

bdon commented Mar 4, 2021

No description provided.

@bdon bdon self-assigned this Mar 4, 2021
@bdon
Copy link
Member Author

bdon commented May 8, 2021

I think this is out of scope of the library. Just use L.Browser.retina or window.devicePixelRatio to choose the PMTiles URL: EXAMPLE.pmtiles, EXAMPLE@2x.pmtiles, EXAMPLE@3x.pmtiles, etc.

@bdon bdon closed this as completed May 8, 2021
@bdon bdon removed their assignment May 8, 2021
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

1 participant