标签:http io os ar for sp art on cti
google map display incorrect
To remove the grayness, according to https://angular-ui.github.io/angular-google-maps/#!/faq:
If rendering starts before elements are full size, google maps calculates according to the smaller size. This is most commonly the case with a hidden element (eg, ng-show). To fix this, use "ng-if" instead, as this will wait to attach to the DOM until the condition is true, which should be after everything has rendered fully.
I‘ve modified your plunker http://plnkr.co/edit/JetUBY?p=preview to remove the grayness. Controller:
var ModalInstanceCtrl = function ($scope, $modalInstance, lat, lng) { $scope.render = true; // code here }
标签:http io os ar for sp art on cti
原文地址:http://www.cnblogs.com/xcwytu/p/4012803.html