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
The svg_templates plugin method shouldn't be a plugin method. This method should always be executed when a mapview is created. But svg_templates should not be loaded twice in the case of multiple mapviews in a document.
With the svgSymbols being retired it doesn't make sense to have the type: template if there is only a single type.
It must still be possible to create a custom templates from a function.
There should be an interface to define custom templates and colour substitutes.
The templates should render without any colours being substituted.
dbauszus-glx
changed the title
svgSymbols / svg_templates
icon styles: svgSymbols / svg_templates
Jun 21, 2024
The svgSymbols mapp mod has become quite a long in the teeth.
The
type
icons should be retired once the styleParser has been reviewed and merged.There are currently following
type
symbols.dot
target
triangle
square
diamond
semiCircle
markerLetter
markerColor
circle
template
SVG icons hosted in the public directory should be made available for these.
The styleParser method can replace the type declarations with the matching svg.
It must still be possible to create an icon from a custom function. Memoization is crucial is this is to happen inside the theme method.
The template type icons should be created with the styleParser.
The text was updated successfully, but these errors were encountered: