mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 914 forks source link

Always the HTML elements on the map are not working #1268

Closed bigbossmaher closed 7 years ago

bigbossmaher commented 7 years ago

in my app , the clicks on the side panels are transfered to the map. i tried the the v2 bta version , i tried also

map_canvas{

z-index:-1;

} and .panel{ z-index:19000; } but no solution. it is really a big issue this is my full intel XDK project just open intel xdk and open this project https://github.com/bigbossmaher/parking

capture

wf9a5m75 commented 7 years ago

Try to move your map div after tag.

<body>
<div style="  width: 100%;height:93% ;margin: 0;padding: 0;left: 0;top: 0;" id="map_canvas"></div>
bigbossmaher commented 7 years ago

yes it works , is there any whay to solve the issue without moving the div ? because i must respect the framework7 structure

bigbossmaher commented 7 years ago

any help please ?

herrberk commented 7 years ago

I set map.setClickable(true); when my panel is open in my app. Give it a try

bigbossmaher commented 7 years ago

yes it seems a temporary solution , but when adding more features in the app this solution is very tiresome