YOU ARE USING AN OUTDATED BROWSER
It is limiting your browsing experience. Please upgrade to a modern browser.

Embed a MarineTraffic map

Embed a MarineTraffic map

Monitor marine traffic in your area, from your website!

A great resource of live information for the visitors of your website or your application. You can set it up to display marine traffic in your area or link it to your fleet. *Note that you should use the code as written below without any alterations.

A live map of your area for your web site

Using the code below, you can install our map in your own web site. It is very easy to do this by inserting the following code line into the HTML of your web page, at the point where the map will be displayed:

<script type="text/javascript" src="http://www.marinetraffic.com/resources/embed.js"></script>

or if you wish to configure the dimensions of the map, the centered area, the zoom level and even a vessel you wish to observe, use the following code and adjust the default values accordingly:

<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 or percentage
	border='1';		// the width of the border around the map (zero means no border)
	shownames='false';	// to display ship names on the map (true or false)
	latitude='37.4460';	// the latitude of the center of the map, in decimal degrees
	longitude='24.9467';	// the longitude of the center of the map, in decimal degrees
	zoom='9';		// the zoom level of the map (values between 2 and 17)
	maptype='3';		// use 0 for Normal map, 1 for Satellite, 2 for Hybrid, 3 for Terrain
	trackvessel='0';	// MMSI of a vessel (note: vessel will displayed only if within range of the system) - overrides "zoom" option
	fleet='';		// the registered email address of a user-defined fleet (user's default fleet is used)
	remember='false';	// remember or not the last position of the map (true or false)
	language='en';		// the preferred display language
	showmenu=true;		// show or hide the map options menu
</script>
<script type="text/javascript" src="http://www.marinetraffic.com/js/embed.js"></script>

The following map is generated by the above sample code: