You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "Template:MarineTraffic"
(Tag: 2017 source edit) |
(Tag: 2017 source edit) |
||
| Line 3: | Line 3: | ||
<html> | <html> | ||
| − | <script type="text/javascript" | + | |
| − | latitude= | + | <div> |
| − | longitude= | + | <script type="text/javascript"> |
| + | width='100%'; //the width of the embedded map in pixels or percentage | ||
| + | height=500; //the height of the embedded map in pixels or percentage | ||
| + | border=1; //the width of border around the map. Zero means no border | ||
| + | notation=true; //true or false to display or not the vessel icons and options at the left | ||
| + | shownames=true; //true or false to dispaly ship names on the map | ||
| + | latitude=51.50; //the latitude of the center of the map in decimal degrees | ||
| + | longitude=0.02; //the longitude of the center of the map in decimal degrees | ||
| + | zoom=14; //the zoom level of the map. Use values between 2 and 17 | ||
| + | maptype=2; //use 0 for Normal map, 1 for Satellite, 2 for Hybrid, 3 for Terrain | ||
| + | trackvessel=0; //the MMSI of the vessel to track, if within the range of the system | ||
| + | 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> | ||
| + | <script type="text/javascript" src="http://www.marinetraffic.com/ais/embed.js"></script> | ||
| − | |||
| − | |||
| − | |||
<script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"> | <script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"> | ||
width='700'; | width='700'; | ||
Revision as of 12:34, 21 February 2021