Hi,
I’m trying to create an Ionic 3 app with a full screen cordova google maps with buttons and labels as a layer on top of the map. I would like to associate click events to the buttons and labels. Also, the map underneath should be clickable wherever the map is not covered by buttons or labels. I used ion-grid for my button and labels layout along with a standard div for the map. Right now, the button and labels are generating click events. But, the map below is not clickable, i.e., for example, I can’t move the map if I touch it. I tried google search, stackoverflow & ionic forum search for a combination of ion-grid layout and google maps usage without much success. Here’s my home.html code…
Right now, the full map with 2 labels and a button get displayed. I can even click on the labels and the button when the above mentioned functions get called. But, the map is not clickable and doesn’t respond to touch events. How do I make the map clickable wherever it is not covered by button and labels?
Thanks for your response. I tried installing the 20171231-2134 version of the plugin by following the steps you mentioned above. I still have the same issue. It didn’t fix the problem. I’m basically defining the ion-grid INSIDE the map div. Is that an issue? How to best write the template for a map with an overlapping ion-grid?
Thanks for your response. I’ve created a git repo. The git repo is located at:
The labels are not positioned properly if you run the above project. The Start Location and End Location must be spaced apart. It looks like they are stacked one below the other.
Thanks for your response. But, I have an ion-grid inside ion-content, enclosing map’s div. Wondering how ion-grid’s rows and the full screen map will interact to produce the desired layout. I’ve opened a separate topic on this issue as I could get the map to be clickable along with buttons and labels. Now the issue is with placement of different elements. The new topic is at: