Hello,

I'm wondering whether there is a way to integrate Address Field with any Geocoding/Mapping module, or if that's a planned feature for Address Field. I really like the direction this module is taking, but I need to have a good way to display addresses I input through this module on maps.

Thanks.

Comments

juhaniemi’s picture

You can easily accomplish this with Address field + Geofield + Geocoder modules. Geofield has also a basic maps display plugin for Views.

goron’s picture

Status: Active » Fixed

Thanks. At the time I wrote that Geocoder didn't have an official 7.x branch. I'm marking this as fixed.

Status: Fixed » Closed (fixed)

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

drupalina’s picture

Status: Closed (fixed) » Active

Sorry to re-open this issue.

Would it be possible to suggest where I could find documentation on how to integrate Commerce, Address Field with a Google Maps???

I'm trying to build an e-commerce website so that as soon as the order is placed, the delivery address pops up on a Google Map view - for the delivery-man (who will have an iPad or laptop with him) to see where to drive to next.

of all the searches that I've done this is the only issue queue that is close to what I'm looking for. Any help and suggestions would be appreciated.

phayes’s picture

The magic combination appears to be:

Address-field => geocoder => geofield => openlayers or geofield_map or leafet

So for mapping your choices are generally between openlayers, geofield_map, or leaflet. OpenLayers is the most powerful, but has a bit of a learning curve.
I believe geofield also comes packaged with the "geofield_map" module which is a really simple google-maps powered map. So that's available too. The leaflet module I have not tried, but have heard good things about it. Good luck!

drupalina’s picture

thanks phayes, but can you share some links for tutorials, screencasts, documentation etc -- on how to achieve this?
I have worked with GMap and Location modules in D5 and D6, but with these new modules I'm totally lost.

phayes’s picture

Your best bet is probably to buy the new book! http://www.amazon.com/Mapping-Drupal-Alan-Palazzolo/dp/1449308945

There are also a few screencasts floating out there, which you could likely find with a bit of googling (I dont have the links with me here).

Abilnet’s picture

It sounds so easy in #1: "...You can easily accomplish this with Address field + Geofield + Geocoder modules..."

I've tried everything I can imagine, but just can't find the way how to actually do it. The book in #7 is not helping with this recipe.

I'd very much appreciate it, if someone could post a link to a tutorial, or somehow show the "newbie way" to follow in order to get address -fields to a map.

Your help appreciated, thank you.

goron’s picture

A simple google search for drupal geofield geocoder addressfield openlayers reveals 5 or 6 tutorials on the first 2 pages. The slideshare one looks good.

The openlayers documentation here on d.o has a getting started guide, which is pretty good but missing the addressfield part. It also has a guide on proximity search, which includes all the parts you need and you can just leave out the proximity stuff in Views.

You can also try installing the OL Locator feature, which will set up a proximity search with this stack. Again, even if you don't need the proximity stuff you can use this as a way to see the rest of the stack implemented.

phayes’s picture

This seems like a really nice one: http://vimeo.com/38558646

rszrama’s picture

Component: Code » Documentation
Status: Active » Closed (fixed)

I sat through ultimike's session on this at Florida DrupalCamp and think it fits the bill:

http://drupaleasy.com/blogs/ultimike/2013/04/import-map-over-5000-points...