Tell us what you are trying to do?
is there a way to ajax load the custom posts based on the map position? when you zoom in or drag across the map, the markers would update and its respective post results would update.
currently I am loading all the entries in a single page load and it affects the loading times because new entries are added everyday
Is there any documentation that you are following?
none
Is there a similar example that we can see?
when you pan/drag/zoom in on the map, the results change and the markers update
hidden link
What is the link to your site?
hidden link
Hello, I understand you would like to have a map view that updates the list of results as you move the map around, such that the results displayed are limited by the map's current boundaries. That would be a great feature but unfortunately Toolset Maps does not currently provide that capability. There are no AJAX APIs available for Views, so it isn't easy to update the results on-the-fly based on map position like this. One alternative I can think of is to add pagination to the View so that only a limited number of results are shown at a time, and the User can click pagination links to load a new set of the results. When a map is involved, this isn't always ideal because it does not make sense to show only a limited number of markers on the map - you usually want to see all the markers regardless of list pagination. To get around that, I've seen some Users implement two separate Views - one unpaginated View for the Map/Markers, and another paginated View for the list of results. You would display both Views at the same time. It's somewhat complex to set up because both Views must respond to the same filters, but only one View displays the filters.
Let me know if you have any other ideas for how to approach this and we can discuss in more detail.