We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
While re-implementing the tile layer with maplibre-gl-leaflet I noticed the quality of the tiles dropped due to blurriness.
I hope the difference is recognisable in the screenshots 😅
With leaflet on its own with raster tiles (or maplibre-gl on its own with vector tiles), the map looks sharp and crisp:
But when I try to use maplibre-gl-leaflet, it's not as clean:
The reason is that tile layer gets a transform css rule with fractions:
So if the style were transform: translate3d(-107px, -50px, 0px) instead, we would not have the problem.
transform: translate3d(-107px, -50px, 0px)
Can we round the translate properties?
The text was updated successfully, but these errors were encountered:
The problem can also be seen in the examples.
https://raw.githack.com/maplibre/maplibre-gl-leaflet/main/examples/basic.html
Sorry, something went wrong.
Please review #42 and, if everything is fine, publish it to npm.
Successfully merging a pull request may close this issue.
While re-implementing the tile layer with maplibre-gl-leaflet I noticed the quality of the tiles dropped due to blurriness.
I hope the difference is recognisable in the screenshots 😅
With leaflet on its own with raster tiles (or maplibre-gl on its own with vector tiles), the map looks sharp and crisp:
![leaflet](https://user-images.githubusercontent.com/3257360/204272112-873fd1a6-9922-428e-ac7b-60fc24cae033.png)
But when I try to use maplibre-gl-leaflet, it's not as clean:
![maplibre-gl-leaflet](https://user-images.githubusercontent.com/3257360/204272245-3dd7fd02-ee83-4376-8617-a84db7a66edf.png)
The reason is that tile layer gets a transform css rule with fractions:
![maplibre-gl-leaflet-style](https://user-images.githubusercontent.com/3257360/204272428-6fd6586f-6435-4b06-bdcb-a1f365592e82.png)
So if the style were
transform: translate3d(-107px, -50px, 0px)
instead, we would not have the problem.Can we round the translate properties?
The text was updated successfully, but these errors were encountered: