Google Latlng Lookup
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From No Two The Same
What is the purpose of the default address?
General
meslater
|
Posted: 20 September 2012 10:38 AM |
|
|
|
I am trying to find lat lng on a per entry basis should I leave the default address blank? It is just not clear to me what purpose it serves.
Thanks much
|
|
|
Elliot Lewis
|
Posted: 27 November 2012 02:35 PM |
# 1
|
|
Developer
|
The fieldtype requires an address, it needs a reference to find the latitude and longitude.
It uses Googles services so it’s the same as http://maps.google.com
Google will try to find the location based on anything you enter as an address. A little message will appear with the fieldtype telling you if it’s an approximate or accurate location. Entering a house number, street, country and zipcode will give Google everything it needs to be accurate.
Once you’ve found the lat/lng you could remove the address data, not sure why you’d want to but it should save OK.
To give you an idea of why you might want this data, this is why I built it: http://neighboursandneighbourhoods.co.uk/neighbourhood_representatives
This uses the lat/lng to put pins on a Google map on the front-end.
|
|
|
Elliot Lewis
|
Posted: 27 November 2012 03:58 PM |
# 2
|
|
Developer
|
Ah, I’ve just realised you might be talking about the default address in the fieldtype settings or when you set up field in a field group.
The default is an option when building Fieldtype Addons. I just included it incase someone wanted it.
If you want default details for each new entry, add default values when you create the field.
Usage in CP: Maybe your entries default to a location if not specified, a default value will save your client having to choose somewhere each time they post a new entry.
|
|
|