Would it be possible to set a field for the exposed filter that would be geocoded on the fly and then used at the centre point?

Comments

tizzo’s picture

It should be possible but the functionality isn't there yet.

I'll need to do this as well, I'll post updates here as I progress over the next few weeks.

tecjam’s picture

You could add a search field or option to send post code & country to http://maps.google.com/maps/api/geocode/json?address=____POSTCODE___%20_...

Convert json, grab lat/lng and filter accordingly.

bigsyke’s picture

Techjam, Would this require a custom module? I need something to sort by Zip, and the current module doesnt work.

ptmkenny’s picture

Category: Feature request » Support request
Issue summary: View changes

This kind of implementation is possible out of the box now:
https://www.drupal.org/node/2073709

ptmkenny’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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