Angularjs 如果未正确渲染贴图,则在模态ng中使用角度google贴图
大家好,我读了很多关于如何将谷歌地图放入模式的文章。 我用ng if找到了很好的解决方案,但我的贴图没有正确渲染。。。我也尝试刷新,但没有帮助。知道为什么吗Angularjs 如果未正确渲染贴图,则在模态ng中使用角度google贴图,angularjs,google-maps,modal-dialog,Angularjs,Google Maps,Modal Dialog,大家好,我读了很多关于如何将谷歌地图放入模式的文章。 我用ng if找到了很好的解决方案,但我的贴图没有正确渲染。。。我也尝试刷新,但没有帮助。知道为什么吗 <div class="popup" ng-show="showMap = true"> <ui-gmap-google-map ng-if="showMap" class="map" center='map.center' zoom='map.zoom' options="map.options"><
<div class="popup" ng-show="showMap = true">
<ui-gmap-google-map ng-if="showMap" class="map" center='map.center' zoom='map.zoom' options="map.options"></ui-gmap-google-map>
<div class="location">
<div class="address">Columbus, Ohio, Street 21</div>
<span class="circle">
<i class="material-icons">place</i>
</span>
</div>
</div>
$scope.map = {
center: {
latitude: 45,
longitude: -73
},
zoom: 8
};