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.
Normally location only re-geocodes a location if the address text has change. However, sometimes you may want to force a re-geocode, but the only way to do that is to change the address text. If the text is already right, then you must change the text, save, then change the text back, and save again.
Please add a checkbox to re-geocode on the save of a node / user / entity regardless of address change.
Comment | File | Size | Author |
---|---|---|---|
#9 | add-a-checkbox-to-re-geocode-1948640-7.patch | 1.9 KB | moymilo |
Comments
Comment #1
podarokpossibly You shoud try gmap contrib module with its Find address on map button
#1921872: Find address on map button
Comment #2
webservant316 CreditAttribution: webservant316 commentedpossibly, but that module automatically puts the lat and long in the geocodes field overrides which the admin may not want. it is not really a specific solution to the problem.
why not instead always re-geocode when saving a node / user / entity with a location attached? I can see how one might want to conserve hits to google, but how often does a re-save happen anyway?
Comment #3
podarokgood to see here a patch against latest dev
Comment #4
podarokwoops, wrong status
Comment #5
webservant316 CreditAttribution: webservant316 commentedthanks - and hopefully patched again 6.x-3.2 as well.
Comment #6
podarokafter commiting to 7.x it can be backported to 6.x
Comment #7
moymilo CreditAttribution: moymilo commentedAdd a checkbox to re-geocode on the save of a node / user / entity
Comment #9
moymilo CreditAttribution: moymilo commentedFix Undefined index: re_geocode_location on simpe test.
Comment #10
moymilo CreditAttribution: moymilo commentedComment #11
podarokmerged, thanks!