Widget:TChartlet static

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(staticmap.openstreetmap.de)
(Undo revision 188492 by Vadim (talk))
Line 23: Line 23:
assign var='h' value=$height|replace:"px":""
assign var='h' value=$height|replace:"px":""
}--><!--{
}--><!--{
-
assign var='url' value=http://staticmap.openstreetmap.de/staticmap.php?center=`$lat`,`$lon`&zoom=`$zoom`&size=`$w`x`$h`&maptype=mapnik
+
assign var='url' value=https://maps.wikimedia.org/img/osm-intl,`$zoom`,`$lat`,`$lon`,`$w`x`$h`.png
}--><!--{
}--><!--{
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
Line 41: Line 41:
div class="chartlet-static"  style="width:<!--{$width}-->; height:<!--{$height}-->; background-image:url(https://maps.wikimedia.org/img/osm-intl,<!--{$zoom}-->,<!--{$lat}-->,<!--{$lon}-->,<!--{$w}-->x<!--{$h}-->.png)"
div class="chartlet-static"  style="width:<!--{$width}-->; height:<!--{$height}-->; background-image:url(https://maps.wikimedia.org/img/osm-intl,<!--{$zoom}-->,<!--{$lat}-->,<!--{$lon}-->,<!--{$w}-->x<!--{$h}-->.png)"
-
 
-
assign var='url' value=https://maps.wikimedia.org/img/osm-intl,`$zoom`,`$lat`,`$lon`,`$w`x`$h`.png
 
</div>
</div>
</noinclude>
</noinclude>

Revision as of 09:01, 14 November 2018


see Template:Chartlet static

https://wiki.openstreetmap.org/wiki/StaticMapLite

div class="chartlet-static" style="width:; height:; background-image:url(http://staticmap.openstreetmap.de/staticmap.php?center=,&zoom=&size=x&maptype=mapnik)"

wikimedia

div class="chartlet-static" style="width:; height:; background-image:url(https://maps.wikimedia.org/img/osm-intl,,,,x.png)"

Personal tools
advertisement
Friends of Cruisers Wiki