nestauk / health_mosaic_ui

Health Mosaic User Interface
MIT License
0 stars 0 forks source link

As a user I want to annotate a mapbox map #57

Open mindrones opened 5 years ago

mindrones commented 5 years ago

[draft]

Here we have the statechart to start working on the layers architecture, designs will follow:

img_0204

img_0203

mindrones commented 5 years ago

Control bar

img_0192

img_0199

mindrones commented 5 years ago

Crop mask

img_0189

mindrones commented 5 years ago

Note form

img_0190

mindrones commented 5 years ago

We changed the machine in 2 places

I'll have to redraw it: I'll take this as a chance to see how to represent sub-machines in different drawings, as we still want to see them as as one.

Here's a PlantUML representation (without actions and with the Crop machine, not yet implemented):

Screenshot 2019-03-12 at 20 23 47
mindrones commented 5 years ago

Reopening, this belongs to the Locations facet, with the exception that controls, pins and note editor will have to be moved in the facet-specific panel in the upcoming sidebar.

mindrones commented 5 years ago

Note that cropping bounds corresponds now to setting up a selection like {key: 'location', type: 'within', value: bounds} so it should be straight forward as long as we have a UI to do this.

Mapbox has a boxZoom interaction to define bounds on a desktop browser (shift-drag), but we still need to communicate the user that they can do this. Not sure if boxZoom is an option on tablets.