Skip to content Skip to sidebar Skip to footer

Ionic Framework How To Place A Div Or Buttons Below Ion-content Map

I'm working on an ionic project and in a tab I placed a google map following this tutorial. Now I want to put some buttons (inside a div?) to trigger some actions over that map. ho

Solution 1:

Why don't you add your map into a separate div

<ion-viewtitle="Ubicación"><ion-content><divid="maps"scroll="false"data-tap-disabled="true"></div><divclass="testHello "> My Button </div></ion-content></ion-view>

And position your items on position fixed

.testHello { 
  position : absolute;
  background-color: red;
    width : 100%;
  bottom:0px;
}

See updated codepen http://codepen.io/anon/pen/eNgRpR

Post a Comment for "Ionic Framework How To Place A Div Or Buttons Below Ion-content Map"