Skip to content

Teeny Tiny bug in remove Polygon #230

@MyTek

Description

@MyTek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions