Drupal Google Map Issue (without location module)

March 9
blog author

aleung

CEO

I posted a blog post about Drupal Google Map integration a few weeks ago. In that posting, I mentioned that Google Maps can be integrated by simply creating a custom .php page which embeds the Google Map API JavaScript inside it and then fetch the right Google Map based on the URL ($_GET variable). I think that while this method works for most sites, this may not work for a lot of directory sites simply because people enter non conventional addresses. In order to prevent this from happening, there are 2 things that can be done:

1) Let people enter the longtitude and latitude of their address

2) Let people upload an image of the map if the mapping does not work However, as in most sites that have user generated content, there will be people who would not know what they are doing and enter something weird into the address field.