capacitor-community / capacitor-community/google-maps
Teeny Tiny bug in remove Polygon
- Dominant language
- Java
- Stars
- 161
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Removing a polygon doesnt work on android
**To Reproduce**
1. Create a polygon.
2. Try to remove it with the removePolygon() method.
**Expected behavior**
The polygon should disappear
**Additional context**
This fix is suuuuper minor. Here is the fix below:
"^2.0.0-beta.7"
@capacitor-community/google-maps/android/src/main/java/com/hemangkumar/capacitorgooglemaps/CustomPolygon.java
Line 111, change this:
tag.put("id", this.polygonId);
to:
tag.put("polygonId", this.polygonId);
NOTE: I also had a question i wanted to ask one of the devs here. Not sure where i can ask it. I was hoping to get someone to fix another bug and maybe add a disableClustering option. Right now if you select a marker more than once, and its close to another, it cycles through them like its clustered.
Contributor guide
Assessment
This issue has not been assessed yet.