Skip Navigation

[Resolved] Show all markers on map, with fixed map position

This support ticket is created 4 years, 7 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Shane 4 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#1845625

Hi, I am using the blocks editor. I have a toolset grid with 2 columns - 1 has my view the other has a map.

1. Currently the map shows only the items listed in the view, how can I get it to show all markers when it is initially loaded? I switched off pagination which works, although not practical to scroll with the large list.

2. How can I fix the map position so when scrolling the map stays fixed and the adjacent column with the results scrolls?

Thanks!

#1846209

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Mary,

Thank you for getting in touch.

This is something that is a little tricky to achieve with blocks because it will involve the use of the conditional block as well as a secondary view and a secondary map to load all the markers until you perform an action on the search view, which will cause the map will all the markers to be replaced with the map that has only the paginated results.

I can assist with this if you provide the credentials.

2. How can I fix the map position so when scrolling the map stays fixed and the adjacent column with the results scrolls?

This can be done but you will need to set the column that the map is in to have a fixed position.

Thanks,
Shane

#1846229

Hi Shane,

Would using a conditional be a smooth transition from one map to another? Can I provide the credentials privately?

I tried setting the column to fixed, but didn't seem to work. For now I have used a plugin to handle it, which is nice as it removes the fixed position when it reaches the footer, but I would rather not use another plugin if possible.

Thanks for your help!

#1846689

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Mary,

I can't say the transition will be smooth but it will definitely switch the maps.

I've enabled the private fields for your next response. Also please send me a link to the page that you would want me to help with.

Thanks,
Shane

#1853383

Hi Shane, so finally I have set my view to show all items which works fine for the moment. Thanks for your help.

#1853641

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Mary,

Awesome are there any other issues on this ? If not then you can go ahead and mark this ticket as resolved.

Thanks,
Shane