-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map. Add search by ZIP code (zooms in on specified ZIP code area) #78
Comments
I could do this if it still needs to be completed. |
Yes, this needs to be done. Thanks for offering your help, Josh. |
If this is implemented, we might skip doing issue #81 (dumb/functional map). |
I'll work on it over the next few days. What was the purpose of the dumb/functional map? On Tuesday, August 16, 2016, Oleh Kovalchuke [email protected]
|
On the purpose of the two maps. We encountered a problem at usability evaluation, where users would scroll the map itself on the phone, losing Kansas City context with all the icons in one swipe, getting confused about the map and unable to scroll down beyond the map. Hence the dual map approach. |
I just tried it out and see what you mean I think. I wonder if it could be fixed by adding a div that overlays the map with a listener that requires holding down a few seconds before it lets a touch event be propagated on the map? |
Yes, that would fix it. However, press-and-hold is not a common or obvious interaction with the map. On top of that the audience is not technically savvy. Also we are not the first people to encounter this problem. I have seen the dual map approach in several apps. For example, Meetup and The Weather Channel apps. |
Do you still plan to work on this, Questoflranon? |
I do, sorry for the delay. On Wed, Aug 24, 2016 at 5:20 PM, Oleh Kovalchuke [email protected]
|
I just got a basic version of this function working. Takes 5 digits and if valid pans to zip code on the map. |
Finished the zip code search function. Zoom value is set to 12. Can be found in somemap.js near the top. Valid KC zip codes are in a big array in somemap.js. I added a tooltip for the error message. Clicking anywhere will hide it. |
The suggested UI is:
[Zip ][Search]
[Zip ] is five character "number" input, inputmode=numeric, max and min=5, and Zip is placeholder.
[Search] is search button.
Layout:
Placement: Desktop - to the right of the tabs with 20px left margin, mobile - underneath the tabs, no left margin.
No space between input and button.
Behavior:
The error message.
Content:
"Oops, no such Zip code in Kansas City."
Placement and closing the error message:
Two possible approaches (the first one is better):
or
Visual formatting:
If needed, I will add CSS once functionality is in place.
The text was updated successfully, but these errors were encountered: