Good day,

First off, this module is almost exactly what the Dr. ordered. Great job.

For some reason, the address is not being saved. I don't see it when I view a node and it only shows the state even though I entered the address, city, state and zip. Oddly, it does seem to know where the location is because the Google Maps flag is correct. So seems the conversion to Lat and Long, is working, just the address is not saving.

Here is the node example:

http://rockawaycoopsandcondos.com/content/extra-large-studio-coop-with-d...

In case in matters, here are my details:

Drupal 5.7
GD library bundled (2.0.34 compatible)
MySQL database 5.0.45
PHP 5.2.5
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 PHP/5.2.5

Any ideas?

Many thanks in advance!

Comments

edanma’s picture

I just started playing with this module, and find it to be extremely flexible and usable. I also noticed the address issue, and traced it back to the code involving Google Maps. It looks like the module is expecting the address information to be passed back with the XML map information from Google. The module then assigns the address info back to the node. However, the address information is not being populated from Google, and it gets blown away at node save. If you go into the module and look at the home_insert and home_update functions, just comment out the code where address information is being assigned from the $geocode array. That solved the problem for me.

Michael M’s picture

When I designed the module, I assumed that Google's geocoding capabilities and GIS database would be up-to-date and error free. It seems like it is not. At least not their public mapping api (I've noticed differences between their own implementation of maps and the public's).

Basically, I assumed that if Google returned an empty address that it just doesn't exist. Google also formatted the address in a standard manner... something that I couldn't rely on users to do.

I can definitely fix or change this so that it doesn't store google's returned address.

Michael M’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed and committed. Check the latest release.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.