Change default zoom/positioning of world map
-
Right now my world map looks like this:
https://i.imgur.com/zv4MKjM.pngI would like to change the default zoom/positioning so that it’s zoomed in one more time and is centered like this:
https://i.imgur.com/14Z0KZD.pngThis way the posts/countries won’t be shown twice on the map.
The map looked great with an older version of WP Geo, but it changed once I updated to the new Google API.
I’ve tried changing the default settings but they only seem to affect the widget maps. I’ve also started poking around the actual plug-in files but decided to avoid that and ask for help first.
This is the code I’m using to call the map. It’s hard-coded into the template:
<?php wpgeo_map( array( 'posts_per_page' => -1, ) ); ?>
And here’s the large map in action:
https://cookingforothers.com/archives/Thanks for any help you can provide! ??
- The topic ‘Change default zoom/positioning of world map’ is closed to new replies.