File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,10 @@ <h1>Marker</h1>
279279 < a class ="btn btn-primary " ng-click ="setMarkerPosition(currentMarker, currentMarkerLat, currentMarkerLng) "> Set Position</ a >
280280 </ div >
281281 </ div >
282- < div ui-map ="myMap " class ="span8 map "
282+
283+ <!--Giving the div an id="map_canvas" fix problems with twitter bootstrap affecting
284+ google maps-->
285+ < div id ="map_canvas " ui-map ="myMap " class ="span8 map "
283286 ui-event ="{'map-click': 'addMarker($event)', 'map-zoom_changed': 'setZoomMessage(myMap.getZoom())' } "
284287 ui-options ="mapOptions ">
285288 </ div >
@@ -308,7 +311,9 @@ <h3>How?</h3>
308311 <a ng-click="setMarkerPosition(currentMarker, currentMarkerLat, currentMarkerLng)">Set Position</a>
309312</div>
310313
311- <div ui-map="myMap" class="map"
314+ <!-- Giving the div an id="map_canvas" fix problems with twitter bootstrap affecting
315+ google maps -->
316+ <div id="map_canvas" ui-map="myMap" class="map"
312317 ui-event="{'map-click': 'addMarker($event)', 'map-zoom_changed': 'setZoomMessage(myMap.getZoom())' }"
313318 ui-options="mapOptions">
314319</div>
You can’t perform that action at this time.
0 commit comments