Skip to content

Conversation

@gabbopalma
Copy link
Contributor

@gabbopalma gabbopalma commented Nov 13, 2024

  • Remove web-only MapOptions.webControls
  • Remove web add control code via interop
  • Remove WebControl classes
  • Remove WebControlsPage and its card from MenuPage

Closes a task of #113

Copy link
Owner

@josxha josxha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far!
There is no abition for the js interop code to be as complete as possible as it just increases the code that needs to be maintained. So we can remove

  • addControl() from /lib/src/platform/web/interop/map.dart
  • and /lib/src/platform/web/interop/controls.dart all together

@josxha josxha changed the title Feat: Remove web-only MapOptions.webControls and all WebControl classes feat!: Remove web-only MapOptions.webControls and all WebControl classes Nov 13, 2024
@gabbopalma
Copy link
Contributor Author

Changes made

Copy link
Owner

@josxha josxha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks (: There is a small merge conflict, then we can merge.

Merge remote-tracking branch 'origin/HEAD' into feat/remove-web-only-map-controls
@josxha josxha mentioned this pull request Nov 13, 2024
10 tasks
@josxha
Copy link
Owner

josxha commented Nov 13, 2024

I need to make the android integration tests more reliable. 🥲

@josxha josxha merged commit d2deb99 into josxha:main Nov 13, 2024
16 checks passed
@josxha josxha added this to the v0.2.0 milestone Nov 14, 2024
@gabbopalma gabbopalma deleted the feat/remove-web-only-map-controls branch January 29, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants