Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs 角度谷歌地图中的disableAutoPan不起作用_Angularjs_Google Maps_Angular Google Maps - Fatal编程技术网

Angularjs 角度谷歌地图中的disableAutoPan不起作用

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

我目前正在我的项目中使用angular google maps V2.1.0。 一切正常,但当我使用带有窗口的标记来显示单击时,我遇到了自动扫描问题。地图会滚动到位,但不应该

在文档中,有一个选项可将disableAutoPan设置为true。但它没有设置任何选项

<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({
真的吗
});您所说的“单击时显示窗口的标记”是什么意思?你是说点击信息窗口吗?如果是的话