tedbarnett / MapWalk

An open-source app for leaving map-based notes and suggestions to others

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable object label or delete

tedbarnett opened this issue · comments

We want users to be able to add a text label to any specific drawing object (shape or line). So...

  • if user does a press-and-hold on a specific object...
  • pop-up a dialog box with two options: 1) label (a text field 140 characters in length) or 2) delete.
  • If delete tapped, delete the current object and dismiss the box
  • if label field tapped, open keyboard to allow user to add a text label. If the user types a label it should appear on screen when the user taps the object in the future.
  • Any object that HAS a label should have a tiny speech bubble in its center to indicate that a label has been added. Ideally the labels would be readable on-screen when zoomed in, but probably less cluttered to just have the speech bubble icon reminding users that there is a label to be read.
  • label text should appear in the same color as the highlighter used for that object

The text could also appear in a little text window if that's easier (as Google Maps does with My Maps). Actually, can we copy this UI (except for the color selection window: don't need that). Nice to have a label for the area AND a notes text area.