I'm trying to construct a locations view with 4 arguments (one for each corner) for bounding box search.

By filter this can be accomplish with "between" Latitude, Longitude values, but i need to filter with dynamic values.

Can this be accomplish with arguments?
Thanks in advance.

Comments

yesct’s picture

Not really a proimity view, but related. Tagging.

yesct’s picture

adding more specific tag.

ankur’s picture

Version: 6.x-3.1-rc1 » 7.x-4.x-dev
Category: support » feature

There's currently a way to accomplish something similar:

You can configure a views proximity argument to encode a central latitude, central longitude, and an optional search radius. The search radius can either be a true radius (where results must fall within the circle defined by that radius) or can define a square.

However, I can see the use of being able to specify the four corners of the search area to use latitude and longitude for the corners instead specifying a central point with a search radius. This could be especially useful for a situation where you have a drag-able map that you want to re-center in order to update search results.

I'm pushing this into 7.x-4.x for consideration as it would be a new feature that would require a serious patch.

carlosg2’s picture

Ankur, Sorry, i miss your post.

Indeed my situation was a drag-able map.
Thanks for the update.