Changes between Version 4 and Version 5 of BluePrint/GIS/2.0
- Timestamp:
- 02/02/22 15:30:21 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/GIS/2.0
v4 v5 6 6 - no need to maintain the old one for browser changes (Just 1 instance of that so far: ) 7 7 - we can take advantage of new features & performance upgrades (like [https://openlayers.org/en/latest/examples/tilejson.html TileJSON]) 8 At the core this isn't too hard and [https://github.com/sahana/eden/blob/master/modules/s3/s3gis.py#L7396 much progress has already been made] (& UCCE already uses OL 5within the DC Editor)8 At the core this isn't too hard and [https://github.com/sahana/eden/blob/master/modules/s3/s3gis.py#L7396 much progress has already been made] (& UCCE already uses OL6 within the DC Editor) 9 9 The big issue is the User Interface, especially for the main map. 10 This is currently built on [https://geoext.org/v1/ GeoExt 1.1] & !ExtJS 3.4.10 This is currently built on [https://geoext.org/v1/ GeoExt 1.1] & ExtJS 3.4. 11 11 The obvious solution would be to upgrade to the [https://geoext.github.io/geoext/ current GeoExt], and hence [https://docs.sencha.com/extjs/6.2.0/index.html ExtJS 6.2], however that version of ExtJS is no longer available and has [https://www.sencha.com/legal/gpl/ strict GPL licensing] around it, which doesn't really make it suitable for us.[[BR]] 12 12 !GeoExt are also not moving very fast and a dependency on that seems unwise if we're making a big change anyway.[[BR]] … … 14 14 So what UI toolkit should we use instead?[[BR]] 15 15 An obvious option would be [https://jqueryui.com/ jQueryUI], since we already use that extensively for custom widgets in Eden, and we already use the widget factory for our [https://github.com/sahana/eden/blob/master/static/scripts/S3/s3.ui.gis.js OL6-version of the Map][[BR]] 16 Although it hasn't received many upgrades recently, it is still maintained with a [https://blog.jqueryui.com/2021/09/jquery-ui-1-13-0-rc-2-released/ new release coming soon].17 It has limited Widgets available: Buttons, Dialog, Menus, Tabs all there, but no Toolbar (we can probably use Controlgroup for this) Panels or Tree ( using [https://www.jstree.com/ JSTree] seems the right approach here, as we already use this elsewhere & it's well-maintained).16 Although it is in [https://blog.jqueryui.com/2022/01/jquery-ui-1-13-1-released/ maintenance mode]. 17 It has limited Widgets available: Buttons, Dialog, Menus, Tabs all there, but no Toolbar (we can probably use Controlgroup for this) Panels or Tree (we can either use the separate [https://github.com/walkermatt/ol-layerswitcher LayerSwitcher] or else use [https://www.jstree.com/ JSTree], as we already use this elsewhere & it's well-maintained). 18 18 We can also see about bringing in components from [https://github.com/primefaces/primeui PrimeUI]...that isn't maintained, however the Apache 2 license means we can take anything we want from there. 19 19 20 20 There are other options which we could consider: 21 * !VueJS 21 * VueJS 22 * Several Components: https://vue3openlayers.github.io/ 22 23 * Basic Tree example: https://v3.vuejs.org/examples/tree-view.html 23 24 * !PrimeVue has widgets: https://primefaces.org/primevue/ … … 31 32 * Lit (lightweight web components) 32 33 * React 34 * https://terrestris.github.io/react-geo/docs/latest/ 33 35 * https://react-md.dev/packages/tree/demos 34 36 * [https://webix.com Webix]