capacitor-community / capacitor-community/google-maps

Change boundingRect after initialization

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
161
Forks
65
PR merge metrics
No merged PRs in 30d

Description

First of all, thanks to all contributors for this great plugin! I am really excited to use it in production later!

I just ran the beta-1 in my Android environment. In my case I need to change the boundingRect of the map, after it was initialized. I cant use .removeMap and .createMap again, because there is happening too much work and I get a black frame between. I thought I could use the .updateMap method, but the implementation seems just to update the property 'preferences', but not 'boundingRect' (although I can pass it in the options). It would be really great to have the ability to change the bounds dynamically.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Android implementation of updateMap and how it handles the boundingRect option. Confirm whether the current method updates only preferences, then define completion as changing the map bounds dynamically without removeMap/createMap or an intermediate black frame.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.