Skip Navigation

[Resolved] Map shows selection only after refreshing page

This support ticket is created 2 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by heinP 2 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2272305

Tell us what you are trying to do?
I combine a map and a view with search fields.
On first entry to the site, the map shows all markers properly.
When I filter the view, the map defaults to Africa, but the custom posts show up properly filtered.
When I reload the page, the map shows the correct filtered map markers.

This has occured "all of a sudden", because it used to work perfectly. I did not work on the site for quite some time and did not update any plugins recently, so I am wondering what could have caused this.

Is there any documentation that you are following?
Looked into other tickets

Is there a similar example that we can see?
This is the code; i read in other tickets that sometimes the map-id's cause problems.

<!-- wp:toolset/map {"mapId":"map-3","mapHeight":"500px","mapMarkerClustering":true,"mapMarkerClusteringMinimalNumber":5,"mapMarkerSpiderfying":true,"mapDoubleClickZoom":false,"mapLoadingText":" Map is loading...","mapMarkerIconUseDifferentForHover":true,"mapMarkerIconHover":"//www.meettheredbaron.com/wp-content/plugins/toolset-maps/resources/images/markers/School-3.png","markerId":"[\u0022marker-3\u0022]","markerSource":"[\u0022view\u0022]","markerTitle":"[\u0022{{types field='event-short'}}{{/types}}\u0022]","popupContent":"[\u0022{{types field='picture' title='%%TITLE%%' alt='%%ALT%%' align='center' size='thumbnail' resize='proportional' index='0' separator=','}}{{/types}}\u003cbr\u003e\\n{{types field='date' style='text' format='d F Y'}}{{/types}}\u003cbr\u003e\\n{{types field='event-short'}}{{/types}}\u0022]","markerView":"[1738]","markerPreviewView":"[1739]","markerViewField":"[\u0022wpcf-geolocation\u0022]","align":"full"}

What is the link to your site?
hidden link

#2273603
map7.jpg

Hello,

I have tried it in your website in below URL:
hidden link
With below steps:
Click option "Anecdote", it works fine, see my screenshot map7.JPG

Is there any missing steps? please provide detail steps to reproduce the same problem:
When I filter the view, the map defaults to Africa, but the custom posts show up properly filtered.

#2273859

Not sure what happened there, but yes indeed, it works again like it used to.