Wednesday, 29th July 2009 at 7:20 pm | 6 Comments »
Some extra features…
You can now add width and height parameters to the categoryMap() function and shortcodes, and the Danish language has been updated.
Shortcode
You can specify either a width or height parameter (or both). If you just enter a number, the width will be set in pixels. You can also specify a percentage as illustrated below:
[wp_geo_map width="50%" height="200"]
Category Map
With the category map function, you can pass width and height arguments as a string:
$wpgeo->categoryMap('width=75%&height=200');
Hi Ben,
can I create a page with only a category-map?? How is the shortcode??? I ask, because I travel for my life and than I have on a simply way a map with all posts an the way! That were great….
Chears Jens
@Jens – I’ve just published a post on how you can create a page template to show a map of all posts. I’m looking into adding the functionality as a shortcode in a future version.
Thank you, that works great http:www.milchladen.de/weltkarte
Nice map, would you like me to add your site to the fetaured blogs page? http://www.wpgeo.com/featured-blogs
Sure Ben
And one more question, if posible to create a category-map in a normal post??? Because if I´ve a tour thru africa, than I like only this route on a map.
But I think, that I need a shortcode at the same like this example >>> [wp_geo_CATEGORYmap] <<<