Profile example now somewhat working.

We can show the dialog and draw some predefined profile. Model and
ui stuff setup, including unit_tests.

To have similar functionality than map.geo.admin.ch, alot of drawing
features need to be added yet.
Profile example now somewhat working.

We can show the dialog and draw some predefined profile. Model and
ui stuff setup, including unit_tests.

To have similar functionality than map.geo.admin.ch, alot of drawing
features need to be added yet.
First fully working profile version

Graphics still look like crap, nothing is shown on the map yet and
the interaction is bad, but, we can show a profile that corresponds
to reality.

Look at the sample. To activate profile mode, click the button. Once
the dialog is visible, you can add points by left-clicking the map.
You can start profile generation with double click on the map.
merging...?
Drawing on the ol3 map
Some cleanup and better toggle behaviour. Failed to find bug regarding drawing in ol3
make ga.control.profile propert ol3 control
We can now display the calculated profile in an overlay. This is in addition to the display in a dialog. I think this is how we will display information in RE3
Separating dialog and graphics component. (Graphics is used in multiple locations)
Adding tracking of current point

Tracking is done both on the profile graphics directly as well as on the map. Note
however, that the tracking on the map is pseudo only (when panning or zooming the
map, the tracking info will not follow). This can be improved once the vector
layer of ol3 is fully functional. When this is done, then the tracking information
will be a map vector feature (right now, it's only a simple html element somehow
placed...)
Simple Profile example using Closure UI
solve merge conflict