Skip to content

Conversation

@ipcjs
Copy link
Contributor

@ipcjs ipcjs commented Dec 11, 2025

svg的path的属性,symbol.markerPath[number]中定义的属性优先级应该比 symbol中定义的属性 和 默认属性 优先级更高,这样才能在symbol.markerPath[number]里面复写stroke-linecap等默认属性

properties specified in `symbol.markerPath[number]` take precedence over the properties in `symbol` and the default `markerPath` properties.
@ipcjs ipcjs changed the title Pr/fix symbol svg path properies overrides fix: properties specified in symbol.markerPath[number] take precedence over the properties in symbol Dec 12, 2025
@ipcjs ipcjs marked this pull request as ready for review December 12, 2025 10:05
@ipcjs ipcjs changed the title fix: properties specified in symbol.markerPath[number] take precedence over the properties in symbol perf(symbol): properties specified in symbol.markerPath[number] take precedence over the properties in symbol Dec 12, 2025
@fuzhenn
Copy link
Member

fuzhenn commented Dec 18, 2025

Thanks!

@fuzhenn fuzhenn merged commit 9167d4b into maptalks:master Dec 18, 2025
3 checks passed
@ipcjs ipcjs deleted the pr/fix-symbol-svg-path-properies-overrides branch December 18, 2025 02:59
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.

2 participants