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
Comment #1
yesct commentedNot really a proimity view, but related. Tagging.
Comment #2
yesct commentedadding more specific tag.
Comment #3
ankur commentedThere'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.
Comment #4
carlosg2 commentedAnkur, Sorry, i miss your post.
Indeed my situation was a drag-able map.
Thanks for the update.