-
AuthorPosts
-
southsouthworld Friend
southsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
August 18, 2017 at 3:11 pm #1057228Hi 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
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 21, 2017 at 3:19 am #1057525Hi Alyssa,
You mean that you want a specific location be center on the map?
southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
August 21, 2017 at 12:14 pm #1057649Yes 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 3 replies, has 2 voices, and was last updated by Saguaros 7 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to center the map?
Viewing 4 posts - 1 through 4 (of 4 total)