I’m building a view displaying users in a leaflet map.
Specifically, the view has the following settings:
- The format is Geolocation CommonMap showing fields.
- The fields selected are first name, last name and geolocation field; in the filter criteria I’ve selected some user fields plus some Profile fields (the Profile entity is linked to the User entity through a relationship)
- There is no pagination
- The view is supposed to show roughly 2000 users/points
- The Marker Cluster setting is enabled
Whenever I press save and check the page, the website throws request timeout error. It seems that when the pagination was enabled, the view page was working fine since it had less data to load.
So my questions are: how do I optimise this view when the user number is high? Is leaflet a good map provider for this? Or, are there good alternatives? Do I need to increase the server memory?