Skip to content

custom svg#77

Merged
ThomasHalwax merged 7 commits intomainfrom
custom-svg
Feb 6, 2026
Merged

custom svg#77
ThomasHalwax merged 7 commits intomainfrom
custom-svg

Conversation

@ThomasHalwax
Copy link
Copy Markdown
Member

For point features, you can render custom SVG graphics instead of military symbols by providing an svg property in the feature properties. This is useful for displaying custom markers, sensor data, or any graphical representation that doesn't fit the military symbology standard.

Properties:

  • svg - The SVG markup as a string (required for custom rendering)
  • icon-scale - Scale factor for the icon (default: 1)
  • icon-anchor - Anchor point as [x, y] where values are 0-1 representing the fraction of the icon size (default: [0.5, 0.5] for center)
  • icon-rotate - Rotation angle in degrees, clockwise (default: 0)

When an svg property is present, it takes precedence over any sidc code.

@ThomasHalwax ThomasHalwax merged commit e52d111 into main Feb 6, 2026
1 check passed
@ThomasHalwax ThomasHalwax deleted the custom-svg branch March 15, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant