umap-project / umap

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
https://umap-project.org
Other
1.15k stars 219 forks source link

Icon symbol size in data browser is too big #1621

Open IgnacioHeredia opened 7 months ago

IgnacioHeredia commented 7 months ago

Is your feature request related to a problem? Please describe. Hi all,

minor enhancement here.

In the data browser, the icon symbol (ie. the white circle) size seem to fill the full square color, preventing from clearly visualizing the color of the marker. In contrast, in the marker show in the map, the symbol seems to have a much more "reasonable" size (ie. ~1/3 of the marker size).

image

Describe the solution you'd like Smaller icon symbols in the data browser, like in the map.

yohanboniface commented 7 months ago

This should not be the case:

image

The default white dot should not appear in the databrowser preview.

I wonder again which uMap server your are using or which browser.

IgnacioHeredia commented 7 months ago

Hi @yohanboniface ,

this is not related to the browser. You are not seing the white dot because you haven't selected an icon symbol. I can reproduce your behaviour myself:

image

image

Once you select the white dot icon symbol, this problem will appear.

image

image

But you might be wondering: "Then, why was I initially seeing a white dot in the map, if I didn't selected an icon symbol in the first place?". Well, I just happened to open an issue on this also yesterday: https://github.com/umap-project/umap/issues/1622 😜