UI support for editing a location.

Fixed bug when adding annotations on map.