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

hutch’s picture

Although 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.

nzpunter’s picture

Yeah,

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.

hutch’s picture

Try current dev, there is an option in getlocations_fields field setup for smart_ip lat/lon

nzpunter’s picture

Wow

you are awesome.
works perfectly :)

Super mega big thanks!

hutch’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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