Skip to content

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

@petercn

Description

@petercn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions