Please sign in to comment.
When we are rendering symbol preview icons, we can't handle
sizes set in Meters in Map Units, because there's no map context available to calculate these with So, to avoid dangerously small or large sizes, when we are creating preview images we have to just treat these sizes as mm and then clamp them to reasonable size ranges depending on the symbol property This fixes the quasi-hang from #28690, where a marker line symbol with interval in meters in map units caused a symbol preview icon to be drawn with an extremely tiny interval -- resulting in an effectively endless loop while trying to render multiple billion markers around the edge of the symbol preview icon. It's not ideal, but there's no better approach we can take here! Fixes #28690
- Loading branch information
Showing with 56 additions and 2 deletions.