+7
−0
+1
−1
+14
−0
Loading
Refer to https://www.drupal.org/project/leaflet/issues/3236815 suggestion, in order to make use of GeoField proximity filtering and ordering, a meaningful "Origin Coordinates" for end-user is important, e.g.: - A manual default origin coordinate - Center of map after end-user moving the map by mouse click-and-move - The client location through the browser HTML5 Geolocation API (e.g. by GPS, IP, etc) This PR add support for Leaflet with Geolocation functionality, by introduce https://github.com/domoritz/leaflet-locatecontrol integration. Signed-off-by:Wong Hoi Sing Edison <hswong3i@pantarei-design.com>