Skip to content
Permalink
Browse files

fixed map settings menu updates #989

  • Loading branch information...
Slini11 committed Jul 14, 2016
1 parent 7f9a959 commit aed24d76433349674175844504a6a8c192e7f560
Showing with 0 additions and 6 deletions.
  1. +0 −6 htdocs/templates2/ocstyle/map2.tpl
@@ -367,11 +367,6 @@ function mapLoad()
scaleControl: true,
streetViewControl: false,
overviewMapControl: true, {/literal}
{if $opt_overview==1}
overviewMapControlOptions: {literal}{ opened: true }{/literal},
{/if} {literal}
styles:
[ { featureType:"poi.business", elementType:"labels", stylers: [{ visibility:"off" }] },
{ featureType:"poi.government", elementType:"labels", stylers: [{ visibility:"off" }] } ]
@@ -1571,7 +1566,6 @@ function toggle_settings()
// set controls to config values
document.getElementById('opt_menumap0').selected = "{if $opt_menumap == 0}selected{/if}";
document.getElementById('opt_menumap1').selected = "{if $opt_menumap == 1}selected{/if}";
document.getElementById('opt_overview').checked = "{if $opt_overview == 1}checked{/if}";
document.getElementById('opt_maxcaches').value = "{$opt_maxcaches}";
document.getElementById('opt_cacheicons1').selected = "{if $opt_cacheicons == 1}selected{/if}";
document.getElementById('opt_cacheicons2').selected = "{if $opt_cacheicons == 2}selected{/if}";

0 comments on commit aed24d7

Please sign in to comment.
You can’t perform that action at this time.