Displaying the sidebar while page loads

This commit is contained in:
Dunith Dhanushka 2017-01-16 18:41:10 +05:30 committed by GitHub
parent 8ad75198eb
commit 2c696b7222

View File

@ -120,6 +120,8 @@ function initializeMap() {
} }
}); });
//setting the sidebar to be opened when page loads
$("a[href='#left_side_pannel']").trigger('click');
} }
/* Attribution control */ /* Attribution control */
@ -417,4 +419,4 @@ function clearFocus() {
spatialObject.removeFromMap(); spatialObject.removeFromMap();
selectedSpatialObject = null; selectedSpatialObject = null;
} }
} }