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

feat(maps): add fixedMarker and draggableMarker functionality to Map Widget #1879

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

sharjeelyunus
Copy link
Member

@sharjeelyunus sharjeelyunus commented Feb 19, 2025

fixes: #1764

Changes

  • Added fixedMarker and draggableMarker properties to the Map widget.
  • fixedMarker: When enabled, this keeps the marker fixed at the center of the map, following the movement of the map as the user moves.
  • draggableMarker: When enabled, this allows the marker to be dragged by the user to any location on the map.
  • The updated latitude and longitude of the marker can be accessed via the onCameraMove action.

Examples

fixedMarker
https://github.com/user-attachments/assets/5ab2fdda-dce3-4f70-9161-6edc2babd362

draggableMarker
https://github.com/user-attachments/assets/1184df6f-f1dd-4041-b7a3-2a631939d762

@sharjeelyunus sharjeelyunus changed the title feat(maps): add fixed marker functionality to EnsembleMapWidget feat(maps): add fixedMarker and draggableMarker functionality to Map Widget Feb 19, 2025
@sharjeelyunus sharjeelyunus merged commit 5980183 into main Feb 19, 2025
3 checks passed
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.

Need support to move the map pin to change the location
2 participants