Embedded link no longer works

Answered

Comments

3 comments

  • Official comment
    Avatar
    Vasilis

    Dear Graham,
    Thank you for reaching out.
    I would like to inform you that the script you use is a very old definition of embed maps. I would suggest you try the following code:
    <script>
    width='100%'; // the width of the embedded map in pixels or percentage
    height='550'; // the height of the embedded map in pixels or percentage
    shownames='false'; // to display ship names on the map (true or false)
    latitude='50.159'; // the latitude of the center of the map, in decimal degrees
    longitude='-5.059'; // the longitude of the center of the map, in decimal degrees
    zoom='12'; // 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 be 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>
    I hope this helps. Please let me know if you have any further questions.
    Best regards,

    Comment actions Permalink
  • Avatar
    Graham Pinkney

    Hi Thalia
    many bthanks for that code. I have inserted it and now get the map within our page but how do I make it full screen? I.E. just loads the Marine Traffic web page at our location?

    0
    Comment actions Permalink
  • Avatar
    Vasilis

    Hello Graham,
    You can edit the dimensions of the embedded map by changing the width and height orders. I would suggest you also use the F11 button to enter and exit full screen mode in your browser.
    Let me know if you need anything else!
    Best regards,

    0
    Comment actions Permalink

Please sign in to leave a comment.