Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 44: | Rivi 44: | ||
var days = parseInt('<!--{$days|default:365|escape:'html'}-->'); | var days = parseInt('<!--{$days|default:365|escape:'html'}-->'); | ||
var pointradius = parseInt('<!--{$pointradius|default:6|escape:'html'}-->'); | var pointradius = parseInt('<!--{$pointradius|default:6|escape:'html'}-->'); | ||
var obstypebar = ( | var obstypebar = ( "<!--{$obstypebar|default:yes|escape:'html'}-->" == "yes" ); | ||
var zoomto = ("<!--{$zoomto|default:false|escape:'html'}-->" == "true"); | var zoomto = ("<!--{$zoomto|default:false|escape:'html'}-->" == "true"); | ||
var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); | var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); | ||
| Rivi 72: | Rivi 72: | ||
} | } | ||
console.log( | console.log( "<!--{$obstypebar|default:yes|escape:'html'}-->" ); | ||
console.log( obstypebar ); | console.log( obstypebar ); | ||


