Developer forum

Forum » Templates » Maps removing dots after search

Maps removing dots after search

Martin Gammelholm
Reply

Hi!

One of our solutions is using the Maps module, to show stores around the country presented with a image-dot.

However, when we do a search, we get zoomed into the area and all image-dots not in this area get removed.

URL

Do a search for "aarhus", then zoom out to discover all the image-dots have been removed.
How can we avoid this?

 

BR
Martin


Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

When searching by distance, as you do, only the markers inside the search radius are shown on the map. You should consider using a "find nearest" search and then adjust the limit and zoomLimit settings (see Maps-find-nearest-custom.html for an example).

Best regards,
Mikkel

Votes for this answer: 1

 

You must be logged in to post in the forum