This is my first post here. I was going to ask in meta if it's appropriate, but I need 5 posts before doing that. So I'll just ask and hope it's on-topic enough.
I am designing a search form that has location as one of primary search criteria. Please allow me to pretend for now the user is searching for EV charging stations.
Requirements; The user has to be able to select from a range of location types, eg;
- whole world
- country groups (eg EU, UK, North America)
- country (USA)
- state group (Midwest)
- state (Iowa)
- city group (Rome and Vatican City)
- city (Rome)
- suburb (Beverly Hills) [Forgive the jumping around all over the world]
The search results aren't necessarily on a map. Importantly, they might be shown in a list. So this is not just a case of showing them on a map and letting the use zoom in.
Users might want a list of all EV stations in the world, or in the EU, or in a specific country, or in a group of states, or in a multiple cities who are often grouped for ease.
There are three main designs I've considered;
- map
- multi-step form
- textbox filter
Map (to select location, not to display results) Works ok, but it's not the best for groups. Europe has a plethora of country groups, eg EU, UK, British Isles, Scandinavia, Baltic. So many, with lots of overlapping boundaries ie a country belonging to multiple groups. Selecting the wanted country group, or even multiple countries, can be tricky.
Multi-step form 7 dropdown options in the order above, 2-8 (whole world would be first entry in country group). If they pick UK as their country group, the country dropdown would fill with the now appropriate list of countries (eg All countries, England, Scotland, Wales, Northern Island). If they picked England, the list of State Groups would fill (eg All States, East Midlands etc)[Counties]. Eventually they'd decide they'd "zoomed in" enough, and run the search. High precision, but lots of steps.
Textbox filter A single textfield. As they type it filters the list, which contains all of the above. eg they type "lon" the list might filter down to this; Longal (Country, made up) London (City, England) Londonderry (Suburb, Australia/NSW) They'd obviously then find the one they want, select, and search. The problem is this list has ~200k entries. And thanks to history there are a LOT of double-ups ie places all round the world with the same name. There are 88 Washingtons in the USA alone.
I do intent to create all 3 for testing and feedback.
Mainly wondering if you had any feedback or experience in doing something like this. Or know of a solution to this out there that I can see for myself.