Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teeny Tiny bug in remove Polygon #230

Open
MyTek opened this issue Dec 5, 2023 · 0 comments
Open

Teeny Tiny bug in remove Polygon #230

MyTek opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MyTek
Copy link

MyTek commented Dec 5, 2023

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.

@MyTek MyTek added the bug Something isn't working label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant