Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I cannot get the Latitude / Longitude widget to work with example Lat 6.071515 and Long -0.506411.
Getting the following Notice: Undefined index: value in geocoder_latlon_field() (line 89 of /home/XXX/domains/XXX/public_html/sites/all/modules/geocoder/plugins/geocoder_handler/latlon.inc).
Something wrong with my latlong values, or something wrong in the plugin?
Comments
Comment #2
pyxio CreditAttribution: pyxio commentedsame problem for me. did you ever solve this? i am unable to geocode from addressfield. cheers
Comment #3
jandewit6 CreditAttribution: jandewit6 as a volunteer commentedI changed my setup and am now using the Location module supporting all my spatial setups. I found that it imports lat/lon via feeds without problems.
location_cck module: field_address.Longitude (field_address:locpick][user_longitude)
Comment #4
pyxio CreditAttribution: pyxio commentedi found the solution to these notices. you need to ensure that the field with the geo coordinates the map is using is actually being indexed as opposed to simply being available from the entity. You need the 'indexed' version so that you have a filter available in your view. and once it is indexed and available you use this field as a filter and choose "is not empty" rule. this will solve the issue.
Comment #5
howdytom CreditAttribution: howdytom as a volunteer commented@pyxio Could you share some information on this? I stumbled upon the same error message. How can I make sure ensure that the geo field is actually being indexed?
When I update an existing node, the JSON data disappears. New nodes won't show. This was working perfectly fine for some time. Also using the "Override lat/long values does not work. As soon as I save the node, Latitude and Longitude data disappears.
Any solution is highly appreciated