Skip to content

Commit 9b7acf4

Browse files
author
Andrey
committed
google map api fix, remove unused features
1 parent a17a8a9 commit 9b7acf4

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

api/conf.d/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ window.no_check_mail_auth = window.no_check_mail_auth || false;
1111
window.no_check_local_addresses = window.no_check_local_addresses || false;
1212
window.ipworld_api_key = '8c835497858d45029599768e028939ce';
1313
vxg.api.cloudone.apiSrc = 'https://cloud.vxg.io';
14+
window.googlemap_api_key = 'YOUR GOOGLEMAP API KEY';

core/modules/map/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ window.screens['map'] = {
1212
'menu_icon': path+'map.svg',
1313
'menu_icon_hover': path+'maphover.svg',
1414
'html': path+'map.html',
15-
'js':[path+'mapmarkers.js', path+'markerclusterer.js', 'https://maps.googleapis.com/maps/api/js?key=API_KEY'],
15+
'js':[path+'mapmarkers.js', path+'markerclusterer.js', 'https://maps.googleapis.com/maps/api/js?key='+(window.googlemap_api_key||'')],
1616
'css':[path+'map.css'],
1717
'stablecss':[path+'smap.css'],
1818
'on_show':function(r){

skin/skin2.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,10 @@ body.activity .header-search{display:none!important;}
2626
.leftblock .reports{font-size:0px;}
2727
.leftblock .reports:after{content:"Home";font-size:12px;}
2828
body.reports .rightblock .headerBlock .header-center{font-size: 0px;}
29-
body.reports .header-center:after{content:"Home";font-size: 16px;}
29+
body.reports .header-center:after{content:"Home";font-size: 16px;}
30+
31+
.prifiletabs .tab1{display:none!important;}
32+
.prifiletabs .tab2{border-bottom: 2px solid var(--main-color)!important;}
33+
.profile .wtab1{display:none!important;}
34+
.profile .wtab2{display:block!important;}
35+
.edituser .week_shedule{display:none!important;}

0 commit comments

Comments
 (0)