Embedding the jQuery location picker into the content box of a Bootstrap modal 3 can be done like this:
HTML:
<a data-toggle="modal" href="#myModal" class="btn btn-primary">Launch modal</a>
<div class="modal" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">Location:
<input type="text" id="us2-address" style="width: 200px" />Radius:
<input type="text" id="us2-radius" />
<div id="us2" style="height: 400px;"></div>Lat.:
<input type="text" id="us2-lat" />Long.:
<input type="text" id="us2-lon" />
</div>
<div class="modal-footer"> <a href="#" data-dismiss="modal" class="btn">Close</a>
<a href="#" class="btn btn-primary" id="save-changes">Save changes</a>
</div>
</div>
</div>
</div>
However, it seems that when loading the Google map within the modal (by clicking "Launch modal"), it does not load completely and only shows part of it.
NOTE: Resizing the browser window causes the map to load properly.
You can see an example in the following link :
DEMO : http://jsfiddle.net/Lzv7w/3/
Any suggestions on how to resolve this issue?