javascript - google maps resposive with bootstrap -


how can make google maps responsive bootstrap have map displays fullscreen. fine on browser mobile asthetics not good.i need responsive map fits viewport

#map{     width: 100%;     height: 300px; } 

in jumbotron. quick fix need responsive.

<div class="container-fluid"  > <div class="row-fluid"> <h1>landing page</h1> latitude : {{lat}} longitude : {{lon}} accuracy : {{accuracy}} </div> <div class="jumbotron">  <div id="map"></div> </div> </div> 


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -