You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on github.com and signed with GitHub’s verified signature.
Improvements, fixes
rework of SVG point symbols:
creates a proper SVG element and sets its attributes
canvas size of point symbols (width/height of <svg> elements) now matches the actual symbol size (symbol width + strokewidth*2). It was a consistent 30x30px before, both on map (incorrectly) and in legend. In the legend, point symbols are now always converted (shifted) to be in the centre of a 30x30px canvas.
fixed positioning of symbols being spatially off-centre, incorrectly (before: see example points_s.html up to commit 6269669, hover over points to open tooltip, observe symbol/tooltip center misalignment)
fix: option pointShape had no effect when styling MultiPoint features
per-layer processing time is now measured, optionally
set showTimeBreakdown: true in leaflet-dataclassification.js to see results in console
specific steps are detailed for the layer (in ms): Loading values, Data normalization, Generating classes, Generating colors, Generating symbol size ranges, Applying symbology based on classes, Generating legend, Total processing time
updated readme to indicate feature count for example/demo pages
examples:
new example: polygons_c2.html with 3220 polygons (us_pres_elections_2020_turnout_bycounty.geojson)
added direct links to other demos/examples in info panel