Difference between revisions of "Template:MarineTraffic"

(Created page with "<html> <script type="text/javascript"> width='100%'; // the width of the embedded map in pixels or percentage height='450'; // the height of the embedded map in pixels...")
(Tag: 2017 source edit)
 
(Tag: 2017 source edit)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
 +
 
<html>
 
<html>
<script type="text/javascript">
+
<div>
width='100%'; // the width of the embedded map in pixels or percentage
+
<script type="text/javascript">
height='450'; // the height of the embedded map in pixels or percentage
+
        width='100%';         //the width of the embedded map in pixels or percentage
border='1'; // the width of the border around the map (zero means no border)
+
        height=500;         //the height of the embedded map in pixels or percentage
shownames='false'; // to display ship names on the map (true or false)
+
        border=1;           //the width of border around the map. Zero means no border
latitude='37.4460'; // the latitude of the center of the map, in decimal degrees
+
        notation=true;    //true or false to display or not the vessel icons and options at the left
longitude='24.9467'; // the longitude of the center of the map, in decimal degrees
+
        shownames=true;   //true or false to dispaly ship names on the map
zoom='9'; // the zoom level of the map (values between 2 and 17)
+
        latitude=51.50;   //the latitude of the center of the map in decimal degrees
maptype='1'; // use 0 for Normal Map, 1 for Satellite
+
        longitude=0.02; //the longitude of the center of the map in decimal degrees
trackvessel='0'; // MMSI of a vessel (note: vessel will be displayed only if within range of the system) - '''overrides "zoom" option'''
+
        zoom=14;             //the zoom level of the map. Use values between 2 and 17
fleet=<nowiki>''</nowiki>; // the registered email address of a user-defined fleet (user's default fleet is used)
+
        maptype=1;         //use 0 for Normal map, 1 for Satellite, 2 for Hybrid, 3 for Terrain
<nowiki></script></nowiki>
+
        trackvessel=0;     //the MMSI of the vessel to track, if within the range of the system
<nowiki><script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"></script></nowiki>
+
        fleet='';           //the registered email address of a user-defined fleet to display
 +
        remember=false;    //true or false to remember or not the last position of the map
 +
</script>
 +
<script type="text/javascript" src="https://www.marinetraffic.com/ais/embed.js"></script>  
 
</html>
 
</html>

Latest revision as of 15:39, 28 March 2022