Vessel Finder


// Map Size
var width=’800′; // width of the embedded map in pixels (min. 600 px) or percentage (default=600px)
var height=’500′; // height of the embedded map in pixels (min. 400 px) (default=400px)
// Map View (does not work if Ship Selection is used)
var latitude=’40.0′; // coordinates of the map center in decimal degrees (not mandatory)
var longitude=’2.0′;
var zoom=’2′; // map zoom level (between 2 and 17)
// Ship selection
// IMPORTANT: USE ONLY ONE OF THE FOLLOWING OPTIONS
// Option 1 – by MMSI
var mmsi=’xxxxxxxxx’; // center map over selected vessel specified by MMSI
var show_track=true; // show track of the selected ship
// Option 2 – by IMO
var imo=’xxxxxxx’; // center map over selected vessel specified by IMO
var show_track=true; // show track of the selected ship
// Option 3 – display user fleet ships
var fleet=’your fleet id’; // your fleet key (default is false)
// Auxiliary parameters
var names=false; // always display ship names (default is false)
var click_to_activate=true; // user has to click on the map before zooming with mouse wheel
var store_position=false; // store the last position of the map (default is false, does not work when ship selection is used
var map_style=[ // use this tool for custom map styling
{“featureType”: “landscape.natural.landcover”, “stylers”: [{ “hue”: “#ffaa00” }]},
{“featureType”: “water”, “stylers”: [{ “hue”: “#00a1ff” },{ “saturation”: 91 },{ “lightness”: -18 }]}];