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

[BUG] MapCompass alignment not working #39

Closed
DmitriySimonov opened this issue Apr 3, 2024 · 1 comment · Fixed by #40
Closed

[BUG] MapCompass alignment not working #39

DmitriySimonov opened this issue Apr 3, 2024 · 1 comment · Fixed by #40
Labels
bug Something isn't working flutter_map_compass

Comments

@DmitriySimonov
Copy link

DmitriySimonov commented Apr 3, 2024

Package

flutter_map_compass

Bug Description

MapCompass alignment not working

Steps to Reproduce

Add code MapCompass in FlutterMap

flutter doctor

[✓] Flutter (Channel stable, 3.19.5, on Ubuntu 22.04.4 LTS 5.15.0-101-generic, locale ru_RU.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.2)
[✓] Connected device (3 available)
[✓] Network resources

Expected Results

The compass is expected to be top left

Actual Results

But the compass on the top right
Screenshot_20240403_152806

Code Sample

FlutterMap(
        options: MapOptions(),
        children: [
          ...
          MapCompass(
            icon: SvgPicture.asset(Const.IMAGE_COMPASS, height: sizeCompassMaker),
            alignment: Alignment.topLeft,
          ),
        ],
      ),

Platforms

android

@DmitriySimonov DmitriySimonov added the bug Something isn't working label Apr 3, 2024
@DmitriySimonov DmitriySimonov changed the title [BUG] <MapCompass alignment not working> [BUG] MapCompass alignment not working Apr 3, 2024
@josxha
Copy link
Owner

josxha commented Apr 3, 2024

Thanks a lot for submitting the bug report @DmitriySimonov. I'll be fixed within #40.

@josxha josxha closed this as completed in #40 Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flutter_map_compass
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants