maplibre-gl-js icon indicating copy to clipboard operation
maplibre-gl-js copied to clipboard

Poor sprite quality

Open rtalon83 opened this issue 1 month ago • 3 comments

I have been researching this topic, and in the forums, it is recommended to process the images so that in SDF mode: true, quality is not lost. However, I am still facing the same problem. Here is how the sprites continue to appear on the map.

Is anyone working on this issue?

maplibre-gl-js version: 4.3.2

browser: Versión 125.0.6422.142

Steps to Trigger Behavior

  1. Load a sprite atlas

image

  1. set the icon from atlas

image

  1. Can you see the difference between atlas and browser

ATLAS image

BROWSER image

ATLAS JSON

"icon": { "x": 2, "y": 38, "width": 32, "height": 32, "pixelRatio": 1, "sdf": true },

rtalon83 avatar Jun 06 '24 09:06 rtalon83