我想在bootstrap模式上显示一个新的谷歌地图,但它似乎没有用。请帮忙
$scope.show = function (lat, long) {
$('#body').append('<div id="map"></div>')
enter code here$scope.newMap=new google.maps.Map(document.getElementById('map'), {
zoom: 14,
center: {lat: 37.77, lng: -122.447},
mapTypeId:'roadmap'
});
&#13;