There's definitely a demand for a Google Map include or something for PmWiki:
Currently, PmWiki's EnableHtml won't allow enough tags/scripting to run it, so I had to use a plain vanilla html page to wrap Google Maps, followed by an IncludeSite, to make it work.
Since I'm building an online travel guide wiki, I'll have to use a Google Map on almost every page. Currently, I'm just hoping to find any easier way to do this. Ideas?
Thanks in advance,
An easy means of incorporating the code to include the map API would be handy for those without the knowldege. I've just started to play with it, and as an experiment set up the google map on a bare web page and used the (:includeurl:) markup to include that page within a PmWiki page.
It seems to work fine, and the code I've been playing with for markers and overlays seems to work happily too. Des, Feb 06, 2005.
Unfortunately, neither the google map script, nor the alert box example, run when I add this markup. The page just shows the plain test of the scripts concerned. (PmWiki2.1beta20 and monobook skin used). Des, Feb 16, 2006.
There's a proble with gma-2.1.2 because it seems to ignore the default zoom level -- it works fine when I specifically set a zoom level for a map, but when I leave it out or set it to zero it shows nothing. Breyten
Does the Google Maps API recepi support the selection of KML files? I have build KML files that are on the internet and I want to see the GoogleMap + the KML file (route). I have succesfully incorporated google maps, including predefined .KML files in the PmWiki. The only thing I did was adding the (:html:) and (:htmlend:) tags which ofcourse is a dodgy solution. If you want more info email DJ -> mailto:pmwiki [snail] nldj [period] com.
Note that EnableHTML let me embedded a google map (pmwiki-2.2.35) . It's work well with the google autogenerated html (iframe + optional 'a' and 'small' tags). I replaced the '&' by '&' because pmwiki escape the & (without this modification, I got '&amp;' in the final wiki page and a not well positionned map).
Example of google autogenerated html:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.ca/?ie=UTF8&t=m&vpsrc=0&ll=49.891235,-97.15369&spn=19.854333,37.353516&z=4&output=embed"></iframe><br /><small><a href="http://maps.google.ca/?ie=UTF8&t=m&vpsrc=0&ll=49.891235,-97.15369&spn=19.854333,37.353516&z=4&source=embed" style="color:#0000FF;text-align:left">Agrandir le plan</a></small>
Caroline Guénette - November 12, 2011