Import Google Maps locations
-
Hi everyone,
I’ve written a custom script to automatically create real estate listings using the PRO version of the plugin. All the data is imported correctly except for the location.
To explain in more detail: I’m importing the latitude and longitude fields, as well as the taxonomy term IDs for es_location (these terms don’t appear in the plugin’s backend). However, I noticed that the location is only set correctly if I manually click on the Google Maps–suggested address in the plugin’s backend editor.
I also tried inserting the correct post meta values directly into the database, but the behavior doesn’t change.
Is there a specific hook, function, or internal process that the PRO version uses to properly save or geocode the location?
Has anyone faced a similar issue or found a workaround?
Any help would be greatly appreciated. Thanks in advance!
You must be logged in to reply to this topic.