And a few more things on usability:

- an Enter or Tab selection. I know that both are already used in form 
submission and navigation respectively. But it would be nice to let the user 
choose what key he wants in the constructor.
- once the user chooses something, this should be considered "chosen" and 
the proposal div should not be displayed again if the user navigates back 
and forth the controls, unless he changes again the text in the autocomplete 
field.


And one more test and proposal for the focus thing:
- try autocomplete on an input with the autofocus attribute. "Enter a 
location" should not be displayed. The options arguments in the Autocomplete 
contructor should say something like:
var options = {
  emtyText: "Enter a location";
}
This for at least two reasons:
1. internationalization (correct me if I-'m wrong and this is handled by an 
option in the maps API URL already, but not sure if that fits all needs)
2. letting users write their own text, and possibly empty if someone writes 
the text outside the field

Regards,
Gabriel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/b0w0UVdIOXA1ODBK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to