Google maps api 3 单击标记时防止地图重新定位(Google map v3)
标记打开包含两段文字的窗口。当用户单击标记时,地图会自动重新定位,通常会将地图向北移动以显示弹出窗口Google maps api 3 单击标记时防止地图重新定位(Google map v3),google-maps-api-3,slide,Google Maps Api 3,Slide,标记打开包含两段文字的窗口。当用户单击标记时,地图会自动重新定位,通常会将地图向北移动以显示弹出窗口 是否有防止此重新定位操作的方法?设置disableAutoPan选项: infowindow.setOptions({disableAutoPan: true}); 设置disableAutoPan选项: infowindow.setOptions({disableAutoPan: true});
是否有防止此重新定位操作的方法?设置disableAutoPan选项:
infowindow.setOptions({disableAutoPan: true});
设置disableAutoPan选项:
infowindow.setOptions({disableAutoPan: true});