Unable to clear polylines set for map (worked previously)
@LuisThein đang làm issue này rồi.
Từ ngày 8/11/2021.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
Calling the clear method on map.polylines throws "Unhandled Exception: Unsupported operation: Cannot change an unmodifiable set"
To Reproduce
Steps to reproduce the behavior:
- Just add a clear() call somewhere, though may need to add a few polylines if you don't have them in the sample.
Expected behavior
the set should be mutable and the clear should remove all displayed polylines.
Screenshots
n/a.
Smartphone (please complete the following information):
- Device: Iphone simulator (any)
- Version [e.g. 22]
flutter doctor
/Volumes/devstuff/Developer/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-x64, locale en-US)
• Flutter version 2.5.1 at /Volumes/devstuff/Developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffb2ecea52 (7 weeks ago), 2021-09-17 15:26:33 -0400
• Engine revision b3af521a05
• Dart version 2.14.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Volumes/devstuff/Android/sdk/
• Platform android-29, build-tools 29.0.3
• Java binary at: /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 13.0.1+9)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• 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.10+0-b96-7281165)
[✓] Android Studio (version 2020.3)
• Android Studio at /Volumes/Macintosh HD/Applications/Android Studio.app/Contents
• 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.10+0-b96-7281165)
[✓] VS Code (version 1.60.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.20.0
[✓] Connected device (3 available)
• iPhone 8 (mobile) • B094B1C2-EBDB-404C-A35A-58F6931095AC • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• iPhone 13 Pro (mobile) • 38883115-5DA6-4341-A3DE-5C06313A80B0 • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69
• No issues found!
- Ngôn ngữ chính
- Dart
- Star
- 83
- Fork
- 72
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluttercommunity/platform_maps_flutter
-
implement dispose controller functionCó thể làm lại được @LuisThein đã nhận 794 ngày trước và không có pull request nào đang mở. Đang mởenhancement
fluttercommunity/platform_maps_flutter#71 · 1 người được giao ·
-
Migrate to a Federated PluginCó thể làm lại được @renefloor đã nhận 968 ngày trước và không có pull request nào đang mở. Đang mởenhancement
fluttercommunity/platform_maps_flutter#65 · 1 bình luận · 1 reaction · 1 người được giao ·
-
onTap callback is not called when no InfoWindow is declared and a first tapped has already occuredCó thể làm lại được @LuisThein đã nhận 1076 ngày trước và không có pull request nào đang mở. Đang mởbug
fluttercommunity/platform_maps_flutter#62 · 1 reaction · 1 người được giao ·
-
MinMaxZoomPreference minZoom value is incorretCó thể làm lại được @LuisThein đã nhận 1080 ngày trước và không có pull request nào đang mở. Đang mởbug
fluttercommunity/platform_maps_flutter#61 · 1 người được giao ·
-
add cloudMapId (google map) for platform_maps_flutterCó thể làm lại được @LuisThein đã nhận 1098 ngày trước và không có pull request nào đang mở. Đang mởenhancement
fluttercommunity/platform_maps_flutter#60 · 2 bình luận · 1 người được giao ·
Tất cả issue của fluttercommunity/platform_maps_flutter
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
chriskelly/wish-together#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Web Guide has broken linksĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AppFlowy-IO/AppFlowy#9075 ·
-
Paste asks for iOS paste permission because the default context menu ignores SystemContextMenuCó thể đã có người làm @dorklein đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
maheshj01/searchfield#267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
avdept/JellyBoxPlayer#375 ·
Maintainer thường phản hồi trong vòng 1 ngày