Currently, points styles which do not have sprites defined can only specify size in fixed values of px. Additionally, setting a density in the texture definition has no effect.
This PR will allow points styles to use percentages (size: 50%) and ratios (size: [16px, auto] or size: [50%, auto]), and will use density in css_size calculations.
Fixes #638, fixes #641, fixes #642, and fixes #644.
Currently,
points
styles which do not have sprites defined can only specifysize
in fixed values ofpx
. Additionally, setting adensity
in the texture definition has no effect.This PR will allow points styles to use percentages (
size: 50%
) and ratios (size: [16px, auto]
orsize: [50%, auto]
), and will usedensity
in css_size calculations.Fixes #638, fixes #641, fixes #642, and fixes #644.