Skip to content

optimize Geometry updateSymbol #2585

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

Merged
merged 1 commit into from
Jul 28, 2025
Merged

optimize Geometry updateSymbol #2585

merged 1 commit into from
Jul 28, 2025

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Jul 25, 2025

  • 当Geometry symbol为空时,根据更新的symbol自动生成对应格式的默认的symbol
  • 当Geometry symbol为数组时,如果更新的symbol为对象,仅仅更新Geometry sybmol的第一项
  • 当Geometry symbol为对象时,如果更新的symbol为数组,那么只从更新的symbol提取第一项为更新内容

@fuzhenn fuzhenn merged commit 83cce4d into maptalks:master Jul 28, 2025
1 of 2 checks passed
@deyihu deyihu deleted the 2584 branch July 28, 2025 04:02
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