×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Search a certain area

Search a certain area 9 years 1 month ago #32540

  • DLM
  • DLM's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Hi there,

I was wondering whether it is possible to add an option in our search-module.
If you are searching on a certain zip-code, that you can click the option to enlarge the search result.
So, if there are no results on a certain city, then it will be possible to give the results of a city nearby.

Thanks in advance!

Search a certain area 9 years 1 month ago #32570

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Are you talking about the location search or area search?

Search a certain area 9 years 1 month ago #32585

  • DLM
  • DLM's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I guess both?

When you a have list of hostspots (option 'hotspots', after 'route') and you type a city, maybe there can be search in an area of 20 km around that city?

Thanks in advance!

Search a certain area 9 years 1 month ago #32592

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
With the search for location it's a little different. If the city is not in your current map view, the map will move to that location. The move would trigger an ajax request to fetch the locations in the map view.

In the past for hotspot search I had a script that would search the current view and if nothing is found it will search within a 100mile radius for location matching the pattern. If it still doesn't find anything it will search the whole earth for locations. I'll add this code back in 5.2

Regards,
Daniel

Search a certain area 9 years 3 weeks ago #32663

  • DLM
  • DLM's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Thanks for adding that.
For the moment, I still get no results on a certain area. It would be great if I could get results outside of the searched city. within a certain radius, as explained.
Thanks!
  • Page:
  • 1
Time to create page: 0.116 seconds