ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

ion-menu-button not showing on top left of ionic native google map and neither allow map to work properly #238

Closed ZubairHasan96 closed 4 years ago

ZubairHasan96 commented 4 years ago

I want to show the menu-button on google map top left, but when I tried to use it appears in middle of the map and doesn't allow any functionality of map to work, wherever you click it will open the menu. html is as follows:

<div id="map_canvas">
    <ion-menu-button></ion-menu-button>
  </div>

But when I use a simple button it works fine but I want menu icon to. The Html is shown below:

<div id="map_canvas">
    <button (click)="OpenMenu()" >Start Demo</button>
</div>

CSS for both cases is same and as follows:

#map_canvas {
    height: 100%;
}
wf9a5m75 commented 4 years ago

Please inspect your application css using either Google Chrome Developer Tool or Safari Web Inspector.