Both the dev and latest beta2 branches still have the following code present. This causes gmap to fail at the first hurdle.
The following was reported by fizk @ http://drupal.org/node/1459606#comment-7229306
<?php
function theme_gmap($element) {
// Usability: Prevent js errors on first visit to settings page, etc.
// Of course it will still error if the *wrong* key is on file.
if (gmap_get_key() == '') {
//return t('Unable to render map: Google Maps API key is missing.');
}
?>
And solved with the patch posted by hutch @ http://drupal.org/node/1459606#comment-7252646 but it seemed to have got swallowed up in the large issue so I am reposting.
Patch: http://drupal.org/files/gmap_missing_key_bug-1459606.patch
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | gmap_missing_key_bug-1459606.patch | 552 bytes | podarok |
Comments
Comment #1
podarokbot testing
Comment #2
hutch commentedpatch in #1 tested and it works. This needs to be commited as it is preventing sites from working now.
Comment #3
podarok#1 commited pushed to 6.x-2.x-dev
thanks!!!