Posted by leoklein on January 7, 2013 at 7:27am
Hi All,
I've been through a couple tutorials on mapping with Openlayers where they get position information through Geocoder using either Address Field or, alternatively, a single text field with Auto-complete.
Is there any advantage of using one or the other to derive coordinates? From the looks of it, it seems like the simple text field is a bit more svelte.
Thanks for any advice,
LEO

Comments
From the Address Field
From the Address Field project page, the module does:
But a normal text field keeps whatever you put into it as it is.
So, in short, address field organizes the info in a structure which is suitable for addresses.
If you want some other detailed operations on your addresses, like getting country data, or formatting, etc., then you need address field.
Re: From the Address Field
Yup, would probably help then when creating views based on (U.S.) cities, states, etc.
Thanks.
Address Field is good for well known recipes
for example, you can use Address Field for this recipe:
http://drupal.org/node/1714680
or this one:
http://drupal.org/node/1365574
or this one:
http://drupal.org/node/1637658
or this one:
http://www.istos.it/en/blog/mapping/openlayers-and-addressfieldis
and so on:))
but if you'd like to try a custom recipe, you may choose simple textfield too:)
by the way, you may customize your Address Field by this module:
http://drupal.org/project/addressfield_tokens
http://geoperformans.com
Re: Address Field is good for well known recipes
Thanks. Great help -- I'm just getting used to mapping.