Skip to content

v1.2.7

Compare
Choose a tag to compare
@balladaniel balladaniel released this 03 Nov 20:11
· 24 commits to main since this release

New option

  • style: fillOpacity now works for polygons mode, like expected based on standard L.Path options
    • fillOpacity (L.Path option, between 0 and 1) of polygons is now synced both to map features and legend to keep symbols true-to-map. Default is 0.7 in contrast to L.Path default of 0.2 (since we are creating a thematic map here and with polygons we currently only have fill color to operate with and distinguish, the color should be clearly distinguishable)
    • css: i elements of class legend no longer have opacity defined (to allow usage and to reflect fillOpacity, see previous point)

Improvements, fixes

  • fixed sorting of manually defined class boundaries in manual classification mode
  • updated documentation
  • updates to examples:
    • all: swapped the now-defunct URL of public Stamen Toner tiles with CARTO Dark, CARTO Voyager and CARTO Positron - great background maps for overlaid thematic data
    • all: made layerControl uncollapsed by default
    • lines_c dataset: compressed geojson even more to save space/bandwidth and make loading faster