Store Data Loading Types

The store locator plugin offers flexible loading options, allowing you to control how store data is retrieved and displayed. Choose between loading all store data at once, and dynamically loading data as users interact with the map.

  1. Load All: This option loads all store data at once when the store locator page is accessed or refreshed. This means that all store locations and associated information are displayed immediately, providing users with a comprehensive view of available stores from the beginning.
    • Using this option can be just with the JSON Cache to further speed up the load time.
    • It offers the most consistency in filtering up the store’s data as compared to Load on Bound.
    • Quickly display the results to the user as data is preloaded as the page is initialized.
    • Supports Address dropdown controls, as those filters are built with the loaded data.
  2. Load on Bound: With this option, the store data is loaded dynamically as the user interacts with the map. As the user moves or pans the map, the store locator retrieves and displays the relevant store locations within the visible boundaries of the map. This approach helps optimize performance by loading data only when needed, based on the visible map area.
    • Can work with a high amount of data as it loads when you move the map.
    • The downside is sometimes you are not able to view the store as they may be outside the map screen view.
  3. Load on Button: When this option is selected, the store data is loaded upon the user’s request. Instead of automatically displaying store locations, users have to click a specific button, typically labeled as “Scan” or “Search,” to trigger the loading of store data. This allows users to have more control over when and how the store locations are loaded, especially in scenarios where the data set is extensive or network resources need to be conserved.