I have just recently started using this module and I think it is great. I'm using it with the Location module. I have created a VGF block using the Location:Distance/Proximity driver and selected the default widget. In the view, I have assigned the Location:Distance/Proximity as a contextual filter. The only way I can get the filter to work is if I set a default value for the Global Filter (proximity) type and enter a distance (in the contextual filter). The distance field is not exposed in the GVF block.

How do I expose the distance field so the end user can change the distance?

Thank you

Comments

RdeBoer’s picture

Hi pbonish,

It's been a long time that I did the Location interface.
I don't have a test environment handy at the moment, but I vaguely remember that it accepts arguments of the form
lat,lon (using distance as set by the admin)
lat,lon_distance
lat,lon distance

So you can append a distance to the lat,lon pair, separated by either an underscore or a space.

Rik

pbonish’s picture

Rik,

Thanks for your reply. I'll have a look.

PB

RdeBoer’s picture

Status: Active » Closed (works as designed)