Embedded link no longer works
AnsweredUp until last week the link on my web site worked but now gives a 404 error. The link we used is:
http://www.marinetraffic.com/ais/default.aspx?&zoom=12¢erx=-5.059¢ery=50.159 which opend the map at middle of Carrick Roads between Falmouth and St Mawes, England. Is there new code we should be using?
The page containing that link is http://www.stmawessailing.co.uk/sailing/marinetraffic.php
-
Official comment
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
Please sign in to leave a comment.
Comments
3 comments