0
不能找到对<ui-gmap-markers>
任何文件,只是想获得非常基本的标记信息窗口中的角
content = "<div><h3>Title</h3>Text here..</div>"
添加上点击使用大量的标记时。所有文档都是用于单数标记。
$scope.change_type = function(val) {
content = "<div><h3>Title</h3>Text here..</div>"
$scope.markers = [] //clears the map
$scope.markers = Events.venues(val.type)
}
其中标志物的数据就像是
{options:{ title:"Barney's"},type:'Bar', latitude: 42.992538, longitude: -81.251819}
我已经中index.html
<script src='lib/lodash/dist/lodash.js'></script>
<script src='lib/angular-google-maps/dist/angular-google-maps.js'></script>
<script src='lib/addons/markerwithlabel.js'></script>