Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More SVG marker capabilities #1005

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kgjenkins
Copy link
Contributor

@kgjenkins kgjenkins commented Jul 16, 2022

  • adds support for categorized style using colored SVG markers
  • fixes stroke-width issues with certain SVG files that have large viewbox dimensions

@@ -167,7 +169,7 @@ def getLayerStyle(layer, sln, interactivity, markerFolder,


def getSymbolAsStyle(symbol, markerFolder, layer_transparency, interactivity,
sln, sl, useMapUnits, feedback):
sln, sl, useMapUnits, feedback, label=''):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to add a label param to getSymbolAsStyle() so that the category label could be used in the derivative SVG file name.

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.

None yet

1 participant