Closed (fixed)
Project:
IP Geolocation Views & Maps
Version:
7.x-1.23
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2014 at 22:33 UTC
Updated:
17 Mar 2014 at 23:00 UTC
Jump to comment: Most recent
Comments
Comment #1
safshar commentedComment #2
rdeboerip_geoloc_get_visitor_location()does not invoke the W3C lookup.The W3C/HTML5 look up is an asynchronous call. When the HTML5 location comes in it gets posted to js/ip_geoloc/current_location. This URL is handled by
ip_geoloc_current_location_ajax_recipient().This then calls
ip_geoloc_store_location, which provides a hook for you:hook_get_ip_geolocation_alter(&$location).See ip_geoloc.api.php for details.