Closed (fixed)
Project:
Get Locations
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2012 at 21:58 UTC
Updated:
28 Nov 2012 at 08:10 UTC
Great work on the module!
I would love the option of having the default map centered on the users Smart IP, rather than setting a default lat, long.
Use case: Users creating content local to them, allows autocomplete bias to work correctly.
There are smart IP tokens:
[smart_ip:latitude]
[smart_ip:longitude]
unfortunately D7 does not allow using tokens for a default value.
eg user in Australia receives an Australian bias on their address autocomplete.
user in USA receives a USA bias on their address autocomplete.
Thanks
Comments
Comment #1
hutch commentedAlthough my personal experience of smart_IP is that it is woefully inaccurate, the callback routine is already there so I will see if I can make this an option for getlocations_fields. On my TODO list unless someone does it before I get around to it.
Comment #2
nzpunter commentedYeah,
I realise its not accurate for actual location.
I'm in effect wanting to use it for the autocomplete bias.. It should get the country right.. which is all I want.
Comment #3
hutch commentedTry current dev, there is an option in getlocations_fields field setup for smart_ip lat/lon
Comment #4
nzpunter commentedWow
you are awesome.
works perfectly :)
Super mega big thanks!
Comment #5
hutch commented