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

Any way to add HTML UI over the map? #31

Open
petercn opened this issue Apr 25, 2016 · 4 comments
Open

Any way to add HTML UI over the map? #31

petercn opened this issue Apr 25, 2016 · 4 comments
Milestone

Comments

@petercn
Copy link

petercn commented Apr 25, 2016

I've been able to place a mostly transparent webview with HTML UI components over the native view mapbox map however, doing so disables touching the map since touch events over transparent areas go instead to the webview. The Google Maps Plugin managed to pull off what I'm looking for but I don't quite understand how: https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/Map

I'm an Ionic 2 / Cordova dev but don't understand much of the Objective C code plus I want to accomplish them same in Android. I just want to have webview on top that receives touches EXCEPT when the area being touched is transparent and if so, then the touch events should go to the native view which has the map on it below so that the user can interact with moving and zooming the map, etc. Any advice? Any chance of adding code into this plugin itself to support such a feature?

@petercn
Copy link
Author

petercn commented Apr 25, 2016

I found this but haven't succeeded in using it in such a way that accomplishes my goal: https://github.com/sSegev/SSAlphaPass

@petercn
Copy link
Author

petercn commented Apr 25, 2016

And here's a thread where MapKit folks were trying to do something like this as well: victorzimmer/MapKit#3

@dagatsoin
Copy link

Hi @petercn. Sorry for the late response.
my PR is about overlay elements but it is only for iOS for now. I planed to do the convert to Android in next month.
So don't hesitate to give it a try. You can get it on my repo.

@cusspvz cusspvz added this to the next milestone Dec 28, 2016
@ansarikhurshid786
Copy link

@dagatsoin have you updated repository?

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