diff --git a/croutonjs/meetingMap/js/gmapsDelegate.js b/croutonjs/meetingMap/js/gmapsDelegate.js index 1b1be15..ab3d189 100644 --- a/croutonjs/meetingMap/js/gmapsDelegate.js +++ b/croutonjs/meetingMap/js/gmapsDelegate.js @@ -43,7 +43,6 @@ function MapDelegate(in_config) { 'draggableCursor': "pointer", 'scaleControl' : true, 'fullscreenControl': config.map_search ? true : false, - 'mapId': "DEMO_MAP_ID", }; if (inCenter) { myOptions = Object.assign(myOptions, { diff --git a/croutonjs/meetingMap/js/meeting_map.js b/croutonjs/meetingMap/js/meeting_map.js index e2f20a8..2dae002 100644 --- a/croutonjs/meetingMap/js/meeting_map.js +++ b/croutonjs/meetingMap/js/meeting_map.js @@ -206,6 +206,7 @@ function MeetingMap(inConfig) { let inDiv = document.getElementById(inDiv_id); loadMap(inDiv, menuContext, handlebarMapOptions,callback); loadAllMeetings(meetings_responseObject, fitBounds, true); + config.filter_visible = config.filter_visible || config.goto || config.centerMe; gDelegate.afterInit(()=>filterVisible(config.filter_visible)); }; function loadPopupMap(inDiv_id, meeting, handlebarMapOptions = null) {