Download & Extend

Enter your Google Map Key here.

Project:geomap
Version:6.x-2.0-rc1
Component:Code
Category:bug report
Priority:normal
Assigned:jjchinquist
Status:postponed (maintainer needs more info)

Issue Summary

When I view a node with a Geomap block underneath I just get the warning message Enter your Google Map Key here even though I've already added my api key.

Comments

#1

Assigned to:Anonymous» jjchinquist
Status:active» postponed (maintainer needs more info)

It could happen if the Domain is different. Did you view the page from a different domain than what was entered on the Admin API page?

#2

I have the same problem.

The difference between the domain the key is for and the domain in the geomaps options is the lack of http://www. in the geomaps domain.

#3

Looks like the problem has something to do with you checking for $_SERVER['HTTP_HOST'] and it not matching the domain you are forcing people to enter on the admin form.

Maybe use str_replace(array('http://','www.'),'',$_SERVER['HTTP_HOST']); instead to make the value of HTTP_HOST match the data that will be entered in the admin form.

After I did that and added some Geo Microformat tags it worked fine.

nobody click here