Active
Project:
GMap Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2013 at 11:59 UTC
Updated:
22 Mar 2013 at 12:50 UTC
Jump to comment: Most recent
Hi,
I am interested in making spatial search of nodes on a google map.E.g. show me all nodes in London area.
I am interested only inside the boundaries of the area,not on the radius of a specific point.
Is this possible with this module?
thanks
Comments
Comment #1
johnvThe Location module has a 'proximity' argument.
I have factored that out in a separate argument handler. You can find it here[#1171232-5]
You can use www.example.com/my_page/london_20 .
It shows everything in as 20x20km square, or a circle area.
@pinkonomy, can you try that? ATM it is part of Geolocation field, but I am happy to make a variant for GMap module.
The patch is still homeless.
@podarok, would this fit in GMap module?
Comment #2
user654 commented.
Comment #3
johnvThis patch only searches the locations in your own Drupal Database. Is that what you want? Or do you want to read Google data?
IIRC, GMap already offers a 'filter' (instead of an argument/contextual filter), where you can add the radius.
Your example shows some nifty JS. I'm not into that.
Comment #4
user654 commented.
Comment #5
johnvYou might want to check out Geolocation Proximity. It works with the Geolocation field type, but lacks support for Location/Addressfield/..
Comment #6
johnvOTOH, perhaps you can load all nodes, and set the AutoCenter/Center property somehow.
Comment #7
johnvAnother option, using Geofield: #1469956-89: [Meta] - Improve Views-powered Geofield proximity searches