Can i not display the distance to the visitor's current location and sort and filter by this distance.
I have installed the location 7.x-3.7 module and I followed the steps of the tutorial: If your view is based on the Location module, then add to the view the field "Location: Distance/Proximity". In its Settings panel, under Origin select "Use PHP code to determine latitude/longitude" and enter the following code: return ip_geoloc_get_visitor_location(); But I get these messages:
Notice: Undefined index: latitude en location_views_proximity_get_reference_location() (línea 537 de J:\UniServerZ\www\ira\sites\all\modules\location\location.views.inc).
Notice: Undefined index: latitude en location_views_proximity_get_reference_location() (línea 537 de J:\UniServerZ\www\ira\sites\all\modules\location\location.views.inc).
In the block of IPGV&M: Map (Google) centered on visitor's location If the location appears correctly but not in the view, Could you please help me?
Comments
Comment #2
dialn CreditAttribution: dialn commented