-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#4171Closed
Copy link
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12Found to occur in 3.12p: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
1- Add marker with a certain ID
2- Update the marker, either by updating the entire object or only updating the location
3- Sometimes there will be 2 markers on the map
Expected results
The old marker should be removed
Actual results
2 Markers when there is only 1 defined
Code sample
Code sample
This is how I'm adding the markermarkers: {
if (controller.markerPosition != null)
Marker(
markerId: const MarkerId('pin'),
draggable: false,
consumeTapEvents: true,
onTap: () {
controller.onMarkerTap();
},
// consumeTapEvents: false,
position: controller.markerPosition!,
),
}And what I'm doing is changing the markerPosition
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.2, on Microsoft Windows [Version 10.0.22624.1755], locale en-GB)
• Flutter version 3.10.2 on channel stable at J:\Programming\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9cd3d0d9ff (8 days ago), 2023-05-23 20:57:28 -0700
• Engine revision 90fa3ae28f
• Dart version 3.0.2
• DevTools version 2.23.1
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at J:\Programming\Android\Android_SDK
• Platform android-UpsideDownCake, build-tools 33.0.1
• ANDROID_HOME = J:\Programming\Android\Android_SDK
• ANDROID_SDK_ROOT = J:\Programming\Android\Android_SDK
• Java binary at: J:\Programming\Android\Android_Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
• Visual Studio at J:\VisualStudio\Community
• Visual Studio Community 2022 version 17.4.33213.308
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2022.1)
• Android Studio at J:\Programming\Android\Android_Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
[!] Android Studio (version 2023.1)
• Android Studio at J:\Programming\Android\Android_Studio_Canary
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
X Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[√] IntelliJ IDEA Community Edition (version 2023.2)
• IntelliJ at J:\IntelliJ IDEA
• Flutter plugin version 73.1.1
• Dart plugin version 232.5150.113
[√] VS Code (version 1.78.2)
• VS Code at C:\Users\ahmad\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.52.0
[√] Connected device (4 available)
• SM G973F (mobile) • RF8M41ABZFZ • android-arm64 • Android 12 (API 31)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22624.1755]
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.127
• Edge (web) • edge • web-javascript • Microsoft Edge 113.0.1774.57
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
DigitalSoftMX, ttmdung203, slightfoot, kennethj, rlueders and 1 morekennethj
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12Found to occur in 3.12p: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version