Embedded map uses default settings

Comments

3 comments

  • Official comment
    Avatar
    Christiana Ladopoulou

    Dear Willie.

    Thank you for your post.
    I am sorry to hear you are facing issues with our embedded map but I will be more than happy to help you with this.

    In the example you provided for me, it appears that you have refrained from using the ; at the end of longitude.
    If  you have done the same in the code as well, would you be kind enough to copy the lines below right on top of the default code?

    latitude='52.1476'; // the latitude of the center of the map, in decimal degrees
    longitude='6.6810'; // the longitude of the center of the map, in decimal degrees

    Kindly let me know if the above works for you so that, in the event that the map still goes to default, 
    and the above does not work for you, I would kindly ask you to send us the entire code you are using here:

    https://bit.ly/2GsHvCe



    Kind Regards,

    Comment actions Permalink
  • Avatar
    Willie O'Donoghue

    Hi,

    Thank you for your prompt reply.

    The link above leads to the Help home page only and is of no use.

    This is the adjusted code:

    <script type="text/javascript"> width='80%'; // 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='52.1476'; // the latitude of the center of the map, in decimal degrees longitude='-6.6810'; // the longitude of the center of the map, in decimal degrees zoom='15'; // the zoom level of the map (values between 2 and 17) maptype='0'; // use 0 for Normal Map, 1 for Satellite, 2 for OpenStreetMap 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) </script>
    <script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"></script>

     

    https://hookheritage.ie/hook-lighthouse/hook-head-lighthouse-marine-traffic/

    Regards,

    Willie

     

    0
    Comment actions Permalink
  • Avatar
    Christiana Ladopoulou

    Dear Willie.

    Tahnk you for your prompt reply.

    Would you be kind enought to copy the code below and paste it where your code was:

    <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='52.1476'; // the latitude of the center of the map, in decimal degrees
    longitude='-6.6810'; // the longitude of the center of the map, in decimal degrees
    zoom='10'; // the zoom level of the map (values between 2 and 17)
    maptype='1'; // use 0 for Normal Map, 1 for Satellite, 2 for OpenStreetMap
    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)
    </script>
    <script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"></script>

     

    Kindly note that the above zoom value is 10 but you can replace it with any value from 2 to 17.
    Please advise on whether the above works for you, so that I know how I must proceed in order to further assist you.

    Thank you in advance for your reply.
    I am looking forward to hearing from you.

    Kind Regards,

    0
    Comment actions Permalink

Please sign in to leave a comment.