From 24509ab61483089f526e4d182a3e3ebdc4080302 Mon Sep 17 00:00:00 2001 From: jack Date: Sat, 23 Jun 2018 23:27:24 +0800 Subject: [PATCH] show layers window on page open --- htdocs/static-sanjy-np/css/map.css | 1 - htdocs/static-sanjy-np/js/map.js | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/static-sanjy-np/css/map.css b/htdocs/static-sanjy-np/css/map.css index 2d7a8a90..d698a4cf 100644 --- a/htdocs/static-sanjy-np/css/map.css +++ b/htdocs/static-sanjy-np/css/map.css @@ -56,7 +56,6 @@ position: absolute; left: 80px; top: 115px; - display: none; } #layers-selector ul{ padding: 0; diff --git a/htdocs/static-sanjy-np/js/map.js b/htdocs/static-sanjy-np/js/map.js index 7a82d0e0..55f0a83a 100644 --- a/htdocs/static-sanjy-np/js/map.js +++ b/htdocs/static-sanjy-np/js/map.js @@ -202,4 +202,6 @@ $('#btn-back-to-sjy').click(function(){ flyTo(center, 7, 2000, function(){ }); -}); \ No newline at end of file +}); + +$('#layers-selector').show(); \ No newline at end of file