Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Google maps plugin module not installing

Re: Re: Re: Re: Google maps plugin module not installing

> Which makes me wonder: Did Nelson Ko actually create a gmap mod or did he just claim to create one, along the lines of Fermat's Last Theorem?

At a 1.9.8.3 site I installed (manually, not with the mods interface) the gmap files linked to in the other post and put the GMAP plugin syntax in a wiki page. Like the theorem proof, the plugin does in fact exist and apparently works although I installed it in a rush and haven't checked yet how to set the data for a specific map.

> .... If his mod actually existed, how would it work - perhaps as you mentioned in your previous post, it puts the necessary Google API calls in Javascript into a template...

The map API key as provided by Google goes in header.tpl, enclosed in {literal} tags. (Well, I got this from Google's example, but in 1.10 Google maps work even if the key is specified in the page body, so maybe it doesn't need to be in the header. — As you can see, I'm a Google maps noobie 😉 .) When the plugin is used in a page, the initial display is an empty map space and some gadgets to input map and geotagging data. But it isn't clear (to me anyway) what goes in the gadgets and it seems like only the large textarea can actually accept input (using Opera anyway).

I'm getting an error: "The Google Maps API key used on this web site was registered for a different web site" but don't know what the solution is yet as I just produced the key, and it works without an error to produce a map in a simple html page at the same site. Since the key is directory-specific, maybe there is a problem with setting the key for the root direction (involving caching?).

That's as far as I got, and will come back to this later when time permits. I think we can assume when Nelson Ko (the primary guy doing support.mozilla.comQuestion's Tiki implementation btw) contributes code, chances are if it's not working, the problem is user error or some other installation environment factor 😉.

BTW, I got Google maps working OK in a 1.10 installation, at least as far as having the map appear in my user prefs/info's Google Map Locator. The map API key is ok this time. In this case Tiki is in a subdirectory of the site root. In the case where the key doesn't work, the site is a domain that's actually a pointed-to directory/subdomain within another domain; not sure if that's causing problems.

-- Gary

--