1.20 Limit the number of pins to show on the map

Home » Google Maps » 1.20 Limit the number of pins to show on the map
Google Maps, WP Rentals Theme Options No Comments

Starting 1.20 you will see this new option in Maps Settings – Maximum number of pins to show on the map. http://help.wprentals.org/2017/03/09/speed-tips/

This option should be used to limit the pins on the map (if you have too many properties on the map and the site is getting slow). You can choose the number that performs best for your hosting. Read more on speed here –

How to use this option.

Scenario A:

With read from file set to NO

In this example, the limit of pins (10) will show in:

– Header Media (Google Maps) will show 10 pins

– Properties Standard List with Header Google Maps and Properties List Half Map – will show 10 pins for each page (and the pins will always include also the properties in page)

– Taxonomy (List or Half) – will show 10 pins for each page (and the pins will always include also the properties in page)

– Search Results Standard or Half page style – will always show the pins based on the results in page

– Owner page will always show the number of pins set in theme options, regardless of how many properties per page exist

Scenario B:

With read from file set to YES

In this example, the limit of pins (10) will apply only for these pages:

– Properties Standard List with Header Google Maps and Properties List Half Map – will show 10 pins for each page (and the pins will always include also the properties in page)

– Taxonomy (List or Half) – will show 10 pins for each page (and the pins will always include also the properties in page)

– Search Results Standard or Half page style – will always show the pins based on the results in page.

– Owner page will always show the number of pins set in theme options, regardless of how many properties per page exist

The difference between the previous scenario is that Header Media (Google Maps) will show ALL pins.