tomroh / leaflegend

Provides extensions to the leaflet R package to customize legends with images, text styling, orientation, sizing, and symbology.
https://leaflegend.delveds.com
Other
34 stars 3 forks source link

icon anchors were off when a thick strokes were used #89

Closed mtennekes closed 1 month ago

mtennekes commented 1 month ago

tmap 4 application:

tmap_mode("view");tm_shape(NLD_prov) +
    tm_polygons() +
    tm_symbols(size = "population",
               lwd = 10,
               size.scale =tm_scale_continuous(values.scale = 4)) + tm_dots()

before fix:

Screenshot 2024-07-31 at 11 06 31

after fix

Screenshot 2024-07-31 at 11 06 54
netlify[bot] commented 1 month ago

Deploy Preview for leaflegend canceled.

Name Link
Latest commit c99c792065c4b272e13aaa7dcc0436f276957a66
Latest deploy log https://app.netlify.com/sites/leaflegend/deploys/66a9fee485b06d0008850bf4