Closed (fixed)
Project:
Geolocation Field
Version:
8.x-2.x-dev
Component:
Leaflet API
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2018 at 11:05 UTC
Updated:
27 Jan 2019 at 18:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
zenimagine commentedSame problem on simplytest.me
Comment #3
christianadamski commentedComment #4
christianadamski commentedWith the recent changes, I could simplify a lot of the geocoding code.
Comment #5
zenimagine commentedNow it works, but there are still some problems.
I have warnings in the drupal logs.
When the proximity filter is grouped, the address field does not appear.
Warning: trim() expects parameter 1 to be string, array given in Drupal\views\Plugin\views\filter\FilterPluginBase::arrayFilterZero() (line 1559 of /var/www/www-domaine-com/web/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php)Comment #7
christianadamski commented@zenimagine - please open a new issue for the grouped thing. Does the trim() error happen in that context, or also without grouped filters?
Comment #8
christianadamski commentedAnd by the way: I'll be in Paris the rest of the weak, for the first time :)
Comment #9
zenimagine commented@ChristianAdamski
OK, have a nice trip. I opened a new problem for grouped filters :
https://www.drupal.org/project/geolocation/issues/2995688
Comment #11
zenimagine commentedComment #12
neelaj82 commentedHi zenimagine
I stumbled upon this post many times while I was debugging the proximity exposed form filter issues. I had the same issues that you were having and even though the proximity filter was working for some nodes it wan't 100% functioning. Are you using `geolocation_address_link` module to convert your address into its gecoded values? If yes the problem lies there. The lat/lng values are updated however the cos/sin/rad values are not when you created you node. Check this https://www.drupal.org/project/geolocation_address_link/issues/2952628. You might want to patch this first . Also attached is the screenshot of my table where the fields are empty hence your proximity filter will never work if you have something like this.
I have also attached the views screenshot if you want to check the settings. Happy to help if you have more questions
Comment #13
zenimagine commented@neelaj82 Hi, I have no problem since the last update. Now there is this bug to correct https://www.drupal.org/project/geolocation/issues/2995688