Geotagging Posted by daneast 01 Mar 2011 06:43 UTC The gmap plugin makes an obscure reference to geotagged wikis, etc. How can I specify coordinates for wiki entries? Is that done through trackers or something? I've searched but can only find a couple passing references to geotags. Thanks.
Posted by daneast 08 Mar 2011 15:54 UTC I had to look at the Googlemap plugin source code to figure out how to make this work. There's either a bug in the plugin, or an error in the documentation (depending on which way you want to look at it). First you have to enable PluginAttributes. Next you tag a wiki page by specifying its coordinates via the attribute plugin: {attributes tiki_geo_lat="##.####", tiki_geo_lon="-##.####"} Now here's the bug. According to the Googlemap plugin docs, it will use the type and ID of the current object to grab the geo attributes. That's not true - looking at the source, it simply falls through if the object type and ID are not explicitly specified. Thus in the Googlemap plugin you have to add: locateitemtype="wiki page", locateitemid="Name of Page" Also the PluginAttributes documentation needs to have the curly braces escaped, because the wiki is trying to interpret it as a plugin. http://doc.tiki.org