ionic-team / capacitor-google-maps

16 stars 24 forks source link

feat(google-maps): Refactored options and added feature to update the map options #26

Open AE1NS opened 5 months ago

AE1NS commented 5 months ago

This refactorings simplify the map options handling and therefore remove many methods, that can now be set in the instantiation of the map but also be updated with a new method.

I also fixed an issue with the padding values in Android, that were used as DP value. I used the getScaledPixels to convert the DP values to screen PX. Now its working fine.

Closes https://github.com/ionic-team/capacitor-google-maps/issues/25