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

Add a back button in order to have fullscreen map #26

Open
nicoabie opened this issue Mar 29, 2016 · 4 comments
Open

Add a back button in order to have fullscreen map #26

nicoabie opened this issue Mar 29, 2016 · 4 comments

Comments

@nicoabie
Copy link

First of all thanks for this great plugin.
Is this possible?

@viki53
Copy link

viki53 commented May 18, 2016

Hi,

Same here, I'm trying to use the map in (almost) full screen, but pressing the back button on my phone closes the whole app, instead of leaving my JS handle it.

@EddyVerbruggen
Copy link
Contributor

@viki53 do you mean the Android hardware backbutton? You should be able to override the backbutton pressed event and hook it to the plugin close function.

@nicoabie
Copy link
Author

@EddyVerbruggen It would be desirable to have a back button as a control in the map itself, mainly because ios has no hardware button :(

@risinghero
Copy link
Contributor

@viki53

Same here, I'm trying to use the map in (almost) full screen, but pressing the back button on my phone closes the whole app, instead of leaving my JS handle it.

I've fixed it in my PR
#42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants