cubicweb-leaflet #4151619 refactorize views.py [validation pending]

Actually, views.py manually build the javascript codes. It is preferable to use cubicweb.uilib.js.

Note that geometric data shapes are stored into the db as json string which are directly injected into the js code. We shall take care of the fact that by default js_dump quote python strings unless marked as JSString.

This change will modify the API of the views as python objects (dicts, lists) will be exchanged instead os js scripts.

prioritynormal
typeenhancement
done in0.4.0
load0.100
load left0.000
closed by<not specified>
patch[views] Make GeoJSON views use json data, not strings. [applied][views] Make GeoJSON views use json data, not strings. [applied][views] Make GeoJSON views use json data, not strings. [folded]