Angularjs 角度谷歌地图中的disableAutoPan不起作用
我目前正在我的项目中使用angular google maps V2.1.0。 一切正常,但当我使用带有窗口的标记来显示单击时,我遇到了自动扫描问题。地图会滚动到位,但不应该 在文档中,有一个选项可将disableAutoPan设置为true。但它没有设置任何选项Angularjs 角度谷歌地图中的disableAutoPan不起作用,angularjs,google-maps,angular-google-maps,Angularjs,Google Maps,Angular Google Maps,我目前正在我的项目中使用angular google maps V2.1.0。 一切正常,但当我使用带有窗口的标记来显示单击时,我遇到了自动扫描问题。地图会滚动到位,但不应该 在文档中,有一个选项可将disableAutoPan设置为true。但它没有设置任何选项 <ui-gmap-markers models="focusmarkers" coords="'self'" icon="'icon'"> <ui-gmap-windows show="show" opti
<ui-gmap-markers models="focusmarkers" coords="'self'" icon="'icon'">
<ui-gmap-windows show="show" options="{ disableAutoPan : true}">
<div ng-non-bindable>{{content}}</div>
</ui-gmap-windows>
</ui-gmap-markers>
{{content}}
即使是“最大宽度”或任何其他选项也不会对窗口产生任何影响
有人对此有什么建议吗?我做错什么了吗
希望收到你的来信
问候
迈克尔听起来像是谷歌地图上的一只虫子。我确认使用:
新建google.maps.InfoWindow({
真的吗
});代码>您所说的“单击时显示窗口的标记”是什么意思?你是说点击信息窗口吗?如果是的话