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

Android GoogleMaps.SetPadding() not working #71

Closed
leaguefun opened this issue Sep 6, 2016 · 4 comments
Closed

Android GoogleMaps.SetPadding() not working #71

leaguefun opened this issue Sep 6, 2016 · 4 comments

Comments

@leaguefun
Copy link

Supposingly, we can add padding around the edges of the map using the GoogleMap.setPadding() method. The map will continue to fill the entire container, but text and control positioning, map gestures, and camera movements will behave as if it has been placed in a smaller space. On iOS platform it can be done by current version of library, whereas it won't on Android, it just works like padding on view. Does it having another method to do the same thing on android ? many thanks.

@leaguefun
Copy link
Author

Fixed, just using the deprecated interface to get the GoogleMap object, then calling SetPadding(), it's works !! :D

@amay077
Copy link
Owner

amay077 commented Sep 30, 2016

I will make Map.Padding property that is wrapped below APIs.

@amay077
Copy link
Owner

amay077 commented Feb 12, 2017

Current status:

TASKS

  • Android implementation
  • iOS implementation
  • UWP implementation <- UWP Bing maps does not have Padding of Map
  • Add samples

@amay077
Copy link
Owner

amay077 commented Apr 11, 2017

@amay077 amay077 closed this as completed Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants