Tell us what you are trying to do?
I import custom type posts "Jobs" with WP all Import. this works well. The import also contains an address in the form "postcode city". Postcode and city is imported into an address field. This ist shown in the custom post and toolset is providing the coordinates as shown in screenshot rombus_screen1.jpg.
When trying to display job results on maps or trying to list jobs in distance to some location I have some strange behaviour., In the first place there where no results when using the address. the I found out that I have to open the job post and save it manually, so I get some results, but not all.
First question is: can I automatically open and save all my custom posts at the same time, so the coordinates will be saved? Or is the another way to get the coordinates with WP all Import?
Second question: The following code in views is giving no result, even where there are results:
[toolset-maps-distance-value location='Bad Homburg, Deutschland' postmeta='wpcf-adresse'] km from Bad Homburg, <br>[toolset-maps-distance-value location='Magdeburg, Deutschland' postmeta='wpcf-adresse-lat-long'] km from Magdeburg
Please see last column in this page
hidden link
Third question: not all manually saved jobs are shown in this map:
hidden link
using this code:
[wpv-layout-start]
[wpv-items-found]
[wpv-map-render map_id="map-1"][/wpv-map-render]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-map-marker map_id='map-1' marker_id='marker-5' marker_field='wpcf-adresse'][/wpv-map-marker]
Fourth question: on the bottom of the page I am using a distance search. There you can see all manually saved jobs (7 at the moment). this is working but not showing the distances. Any idea whats going wrong here?
When starting to import addresses, I had several address fields. Afterwards I deleted the or made the type "single line". The deleted one is still selectable in Views..
I would be very happy getting help to get this working.
Thank you.
Jürgen