-
Notifications
You must be signed in to change notification settings - Fork 125
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: add allow-overlap for symbols #507
base: main
Are you sure you want to change the base?
Conversation
addIfPresent('icon-ignore-placement', iconIgnorePlacement); | ||
addIfPresent('icon-optional', iconOptional); | ||
addIfPresent('icon-rotation-alignment', iconRotationAlignment); | ||
addIfPresent('icon-size', iconSize); | ||
addIfPresent('icon-allow-overlap', iconAllowOverlap); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like you needed to change this file — all properties were already there.
@@ -13,7 +13,6 @@ dependencies: | |||
sdk: flutter | |||
maplibre_gl_platform_interface: ^0.20.0 | |||
maplibre_gl_web: ^0.20.0 | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert.
@@ -165,6 +174,10 @@ class SymbolOptions { | |||
} | |||
} | |||
|
|||
addIfPresent('iconOptional', iconOptional); | |||
addIfPresent('iconIgnorePlacement', iconIgnorePlacement); | |||
addIfPresent('iconOptional', iconOptional); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate line.
dependencies: | ||
flutter: | ||
sdk: flutter | ||
flutter_web_plugins: | ||
sdk: flutter | ||
image: ^4.0.17 | ||
js: ">=0.6.7 <0.8.0" | ||
maplibre_gl_platform_interface: ^0.20.0 | ||
maplibre_gl_platform_interface: | ||
path: ../maplibre_gl_platform_interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this file doesn't seem in scope for the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project uses melos to orchestrate its packages.
dart pub global activate melos
melos bootstrap
This will resolve the dependencies so that no changes to pubspec.yaml are necessary.
Hi, i think this adds support for a symbol-options: icon-allow-overlap, icon-optional and icon-ignore-placement.
I am not sure i have gotten all these correct, so if someone could verify I would appreciate it. Thanks 🙏