Template:Chartlet static

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(simlify)
(ESRI places)
 
(9 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>{{#widget:Chartlet static|width={{?|test={{{width|}}}|{{{width}}}|350px}}|height={{?|test={{{height|}}}|{{{height}}}|350px}}|zoom={{?|test={{{zoom|}}}|{{{zoom|}}}|16}}|lat={{{lat|}}}|lon={{{lon|}}}}}</includeonly><noinclude>
+
<includeonly>{{#widget:noscript}}<div style='
 +
  position: relative;
 +
  width: {{?|test={{{width|}}}|{{{width}}}|350px}};
 +
  height: {{?|test={{{height|}}}|{{{height}}}|350px}};
 +
  background-color: gray;
 +
  overflow: hidden;
 +
'>
 +
{{
 +
#widget:Chartlet static grid
 +
| width={{{width|}}}
 +
| height={{{height|}}}
 +
| zoom={{{zoom|}}}
 +
| lat={{{lat|}}}
 +
| lon={{{lon|}}}
 +
| source=http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
 +
}}
 +
{{
 +
#widget:Chartlet static grid
 +
| width={{{width|}}}
 +
| height={{{height|}}}
 +
| zoom={{{zoom|}}}
 +
| lat={{{lat|}}}
 +
| lon={{{lon|}}}
 +
| source=http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}
 +
}}
 +
{{
 +
#widget:Chartlet static grid
 +
| width={{{width|}}}
 +
| height={{{height|}}}
 +
| zoom={{{zoom|}}}
 +
| lat={{{lat|}}}
 +
| lon={{{lon|}}}
 +
| source=http://t1.openseamap.org/seamark/{z}/{x}/{y}.png
 +
}}
 +
</div>{{#widget:noscript/}}{{#widget:noscript}}{{#widget:noscript/}}</includeonly><noinclude>
-
<div style="display:none">
+
This is a helper for [[Template:Chartlet]]. It displays a static chartlet if no JavaScript is available.
-
https://wiki.openstreetmap.org/wiki/StaticMapLite
+
<!--
-
 
+
ESRI World_Imagery: http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
-
div class="chartlet-static"  style="width:<!--{$width}-->; height:<!--{$height}-->; background-image:url(http://staticmap.openstreetmap.de/staticmap.php?center=<!--{$lat}-->,<!--{$lon}-->&zoom=<!--{$zoom}-->&size=<!--{$w}-->x<!--{$h}-->&maptype=mapnik)"
+
OSM Semitransparent layer: https://korona.geog.uni-heidelberg.de/tiles/hybrid/x={x}&y={y}&z={z}  
-
 
+
OpenSeaMap: http://t1.openseamap.org/seamark/{z}/{x}/{y}.png
-
wikimedia
+
-->
-
 
+
-
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>
+
<noinclude>
<noinclude>

Latest revision as of 12:53, 27 February 2019


This is a helper for Template:Chartlet. It displays a static chartlet if no JavaScript is available.


Personal tools
advertisement
Friends of Cruisers Wiki