Widget:TChartlet static
From CruisersWiki
(Difference between revisions)
Line 23: | Line 23: | ||
assign var='h' value=$height|replace:"px":"" | assign var='h' value=$height|replace:"px":"" | ||
}--><!--{ | }--><!--{ | ||
- | assign var='url' value= | + | assign var='url' value="http://staticmap.openstreetmap.de/staticmap.php?center=`$lat`,`$lon`&zoom=`$zoom`&size=`$w`x`$h`&maptype=mapnik" |
}--><!--{ | }--><!--{ | ||
assign var='style' value="width:`$width`; height:`$height`; background-image:url($url)"|escape | assign var='style' value="width:`$width`; height:`$height`; background-image:url($url)"|escape |
Revision as of 09:05, 14 November 2018