plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@nativescript/google-maps] Tools padding

Open Woongsik opened this issue 2 years ago • 3 comments

Hello, I like to have some padding on google-maps tool ie, my location button. There are different layouts should be set on Android/IOS separately.

Any suggestion for this?

Woongsik avatar Nov 22 '22 12:11 Woongsik

Hello, I like to have some padding on google-maps tool ie, my location button. There are different layouts should be set on Android/IOS separately.

Any suggestion for this?

Hello, can you perhaps post screenshots that indicate the case you describe?

CatchABus avatar Nov 22 '22 13:11 CatchABus

I have a title on top of google map and the myLocation button enabled. Now the button is on top on android but the button will be bottom on ios.

Can I have the control of css for them? Adding the <padding="10, 0 ,0, 0"> to the Map component is not working anymore (I am using NS-vue)

image

Woongsik avatar Nov 22 '22 13:11 Woongsik

Thanks for posting this. I don't think there is an easy solution to set button position. I noticed older google maps plugins had indeed a padding property. Perhaps, we can add support for setting padding and maybe you can adjust button position with it.

CatchABus avatar Nov 22 '22 14:11 CatchABus