Unable to clear polylines set for map (worked previously)
@LuisThein 已经在做这个了。
开始于 2021年11月8日。
评估
这个 Issue 还没有评估数据。
描述
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!
- 主要语言
- Dart
- 星标
- 83
- 派生
- 72
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluttercommunity/platform_maps_flutter 的其他 Issue
-
implement dispose controller function可能重新可做 @LuisThein 于 790 天前认领,目前没有进行中的 PR。 未关闭enhancement
fluttercommunity/platform_maps_flutter#71 · 已指派 1 人 ·
-
Migrate to a Federated Plugin可能重新可做 @renefloor 于 964 天前认领,目前没有进行中的 PR。 未关闭enhancement
fluttercommunity/platform_maps_flutter#65 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
-
onTap callback is not called when no InfoWindow is declared and a first tapped has already occured可能重新可做 @LuisThein 于 1071 天前认领,目前没有进行中的 PR。 未关闭bug
fluttercommunity/platform_maps_flutter#62 · 1 个 reaction · 已指派 1 人 ·
-
MinMaxZoomPreference minZoom value is incorret可能重新可做 @LuisThein 于 1076 天前认领,目前没有进行中的 PR。 未关闭bug
fluttercommunity/platform_maps_flutter#61 · 已指派 1 人 ·
-
add cloudMapId (google map) for platform_maps_flutter可能重新可做 @LuisThein 于 1094 天前认领,目前没有进行中的 PR。 未关闭enhancement
fluttercommunity/platform_maps_flutter#60 · 2 条评论 · 已指派 1 人 ·
查看 fluttercommunity/platform_maps_flutter 的全部 Issue
相似的 Issue
-
backlog:low bug localization
难度 2/5 1-3 小时 新手友好度 72/100
simonoppowa/OpenNutriTracker#1366 ·
维护者通常 1 天内回复
-
backlog documentation good first issue priority: medium
难度 2/5 半天 新手友好度 78/100
-
coverage 1.16.0: format_coverage fails on the `{}` that `dart test --coverage` writes for fully skipped suites可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 65/100
finamp-app/finamp#1804 ·
维护者通常 9 天内回复
-
fyi-ecosystem platform-ios team-ios
难度 1/5 1 小时以内 新手友好度 70/100
flutter/flutter#194348 · 1 条评论 ·
维护者通常 1 天内回复