Reply To: Automatic POI maps with custom fields

Home Forums MapPress Support Automatic POI maps with custom fields Reply To: Automatic POI maps with custom fields

#13381
Chris
Keymaster

Hi,

I don’t know how your import script works, but MapPress hooks into the events for meta fields being updated in order to trigger its geocoding.

You might check to see if there’s a field ‘mappress_error’ on those posts, which would indicate a geocoding error, although you should still see an empty map.

You can also use the action ‘mappress_update_meta’ to force an update when you know all the field data has been saved – my own TurboCSV importer calls this action. You’ll need to pass it the post ID to update:

do_action('mappress_update_meta', $post_id);