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)
Line 1: Line 1:
 
<html>
 
<html>
 
  <script type="text/javascript">
 
  <script type="text/javascript">
width='100%'; // the width of the embedded map in pixels or percentage
+
width='100%';
height='450'; // the height of the embedded map in pixels or percentage
+
height='450';
border='1'; // the width of the border around the map (zero means no border)
+
border='4';
shownames='false'; // to display ship names on the map (true or false)
+
shownames='false';
latitude='37.4460'; // the latitude of the center of the map, in decimal degrees
+
latitude='51.49530517205736';
longitude='24.9467'; // the longitude of the center of the map, in decimal degrees
+
longitude='0.017878687673926124';
zoom='9'; // the zoom level of the map (values between 2 and 17)
+
zoom='9';
maptype='1'; // use 0 for Normal Map, 1 for Satellite
+
maptype='1';
trackvessel='0'; // MMSI of a vessel (note: vessel will be displayed only if within range of the system) - '''overrides "zoom" option'''
+
trackvessel='0';
fleet=<nowiki>''</nowiki>; // the registered email address of a user-defined fleet (user's default fleet is used)
+
fleet=<nowiki>''</nowiki>;
 
  <nowiki></script></nowiki>
 
  <nowiki></script></nowiki>
 
  <nowiki><script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"></script></nowiki>
 
  <nowiki><script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"></script></nowiki>
 
</html>
 
</html>

Revision as of 11:58, 21 February 2021