capacitor-community/google-maps

Change boundingRect after initialization

AE1NS opened this issue · 0 comments

AE1NS commented

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.