diff --git a/js/styled-google-map.js b/js/styled-google-map.js index 88344ce..82fbbba 100644 --- a/js/styled-google-map.js +++ b/js/styled-google-map.js @@ -134,6 +134,7 @@ arrowStyle: parseInt(map_settings.popup.arrow_style), arrowSize: parseInt(map_settings.popup.arrow_size), arrowPosition: parseInt(map_settings.popup.arrow_position), +autopanMargin: 120, disableAutoPan: parseInt(map_settings.popup.disable_autopan), disableAnimation: parseInt(map_settings.popup.disable_animation), hideCloseButton: parseInt(map_settings.popup.hide_close_button), @@ -213,10 +214,10 @@ this.setIcon(this.active_icon); this.setZIndex(1); infoBubble.open(map, this); - // Case: https://atrium.macroweb.hu/una/node/33618 + /* Case: https://atrium.macroweb.hu/una/node/33618 setTimeout(function() { map.panBy(0, -140); - }, 400);/**/ + }, 400);*/ } };