Developer forum

Forum » Swift » Search in Swift Location Map

Search in Swift Location Map

Andreas Thomsen
Reply

Hi

We are in the process of transfering a customer from a Dynamicweb core solution into Swift. In their previous solution, they have used the standard Map App to display a dealer map. Here dealers are shown on the map (and in a list below the map), by assigning a group of users in the settings (standard Map App). When using the search function frontend, the results are those dealers matching the search key, based on their information (name, address, etc.).

However, the Map App is not working with Swift (or it seems like i doesn't). Therefore, we have tried to use the new Swift Location Map. But here the search function is very different.

This can also be seen on a Swift demo solution. If you search in a location map in frontend for e.g. "Denmark", the map will zoom in on the geolocation that match that search key. And since the Swift Location Map is set to only show any dealers/users, that are within the zoom of the map, it will exclude out any results that might be located in Denmark, but isn't shown with the given zoom level. 
Is there any way to change this search functionality, so instead the search will match the dealers information, and then show all those results in the list? This way we can make sure that all results matching the search key is shown, and not only those that are within the given zoom on the map.

 

Best regards,
Andreas Thomsen


Replies

 
Merethe Vrå Andersen Dynamicweb Employee
Merethe Vrå Andersen
Reply

Hi, 

You are right. That's an issue so I have created a bug: 13472.

BR,
Merethe Vrå Andersen
QA 

 
Merethe Vrå Andersen Dynamicweb Employee
Merethe Vrå Andersen
Reply

Hi, 

Our developer said that Locations are based on an older version of Google maps which had limitations at that time. He has made an optimization of the zoom level in a fix for 13472.
It needs too many fixes in the core and maybe cause breaking change to Locations to make it as you expect so this needs to be done as a Feature implementation.

We have made feature 13829 where we'll update to the latest Google maps code. The feature is not planned and prioritized yet.

I hope that you can use the zoom level fix with 13472 for now.

BR,
Merethe

 

You must be logged in to post in the forum