On Wed 21 Jan 2009, Martin Wheeler <mwheeler(a)startext.co.uk> wrote:
I've activated Google Maps using my API key, and
maps duly appear for
those nodes with geo-data supplied (lat/long format).
However -- these maps do NOT have any location info. present with the
'pin' shown on the map; nor can I produce any map at all when displaying
an index of any category formatted for map display. (The index list
appears; plus an empty box to its left. That's all I get.)
The first problem seems to be sorted now - at least, when I go to
http://avalonit.net/cgi-bin/openguides/wiki.cgi?Chalice_Hill_House%2C_BA6_8…
I see a little Google map with a red pin, and clicking on the pin gives me a
popup window with "Chalice Hill House, BA6 8BZ" in it.
As for the second problem... have you edited the templates at all? When I
check out Firefox's error console for e.g.
http://avalonit.net/cgi-bin/openguides/wiki.cgi?action=index;index_type=loc…
I get:
Error: unterminated string literal
Source File:
http://avalonit.net/cgi-bin/openguides/wiki.cgi?action=index;index_type=loc…
Line: 201, Column: 28
Source Code:
var htmlString1 = "<a
href=\"?Abundance_BnB,_BA6_9JG\">Abundance BnB, BA6
9JG</a> <a style='text-decoration:none;'
href=\"?id=Abundance_BnB,_BA6_9JG;action=edit\">(edit)</a><br
/>Pammy Dini
This might have something to do with it - I don't see the same error on e.g.
RGL:
http://london.randomness.org.uk/wiki.cgi?action=index;format=map;index_type…
Other OpenGuides sites *do* display this information
for me correctly for
their own nodes (Milton Keynes; Boston, etc.), so I'm assuming something
incorrect with my particular server setup.
It's worth noting that Milton Keynes and Boston are (as far as I know)
both running on hacked versions of old versions of OpenGuides, rather
than current code, so they may well behave differently to your install.
Kake