Skip to content

Commit

Permalink
center_me or goto imply with filter_visible
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Sep 17, 2024
1 parent dd7f1b1 commit 92327d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion croutonjs/meetingMap/js/gmapsDelegate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down
1 change: 1 addition & 0 deletions croutonjs/meetingMap/js/meeting_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 92327d5

Please sign in to comment.