Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • southsouthworld Friend
    #1057228

    Hi Joomlart team,

    I was wondering if there is a code to center the map in the picture attached below: map found at africa.southsouthworld.org

    I found these code instructions below in another topic, except I would like to add a code to center the map and show all of Africa.

    Edit this file /templates/africaworld/html/com_k2/directory/category.php and find

    $jamap = "{jamap locations=’".json_encode($locations)."’ map_width=’100%’ map_height=’455′ zoom=’4′ disable_scrollwheelzoom=’1′ display_scale=’1′ display_overview=’1′}{/jamap}";
    echo $jamap;

    Could someone help me with this? Kindest regards,
    Alyssa


    1. Screen-Shot-2017-08-18-at-10.09.22-pm
    Saguaros Moderator
    #1057525

    Hi Alyssa,

    You mean that you want a specific location be center on the map?

    southsouthworld Friend
    #1057649

    Yes please, I would like a specific location to be the center of the map. However, there are other maps in the same Joomla site that I would like to remain the same. It is only the map on the africa.southsouthworld.org I would like a specific location to be the center of the map.

    Saguaros Moderator
    #1057865

    You can follow this topic

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Saguaros 7 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum