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

Added dynamic rendering support for the 'label' and 'shadow' properties of the Marker class. #269

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

maslke
Copy link

@maslke maslke commented Oct 26, 2023

Please makes sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow the contributing guide.
  • Rebase before creating a PR to keep commit history clear.
  • Add some descriptions and refer relative issues for you PR.
  1. Enhancement of the Marker class functionality by providing toSize and toLabel functions. And it can be dynamically rendering.
  <Marker position={position} label={label} icon={{image: "https://webapi.amap.com/theme/v1.3/markers/0.png", size: [36, 36], imageSize: [36, 36], imageOffset: [0, 0]}} />
  1. fix the issue: Marker的label属性中offset不生效 #252

1. Added dynamic rendering support for the 'label' and 'shadow' properties of the Marker class.
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