Skip to content

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

Open
maslke wants to merge 2 commits intoElemeFE:nextfrom
maslke:next
Open

Added dynamic rendering support for the 'label' and 'shadow' properties of the Marker class.#269
maslke wants to merge 2 commits intoElemeFE:nextfrom
maslke:next

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