gluon-web-osm: base on OpenLayers 5, add model class
The new code is shorter and uses more readable variable names. It does not depend on specifically named input fields anymore (allowing to use multiple maps on the same page), and only uses well-defined interfaces to trigger revalidation of input fields. The Map model class allows to add OSM maps to gluon-web forms.
Showing
- package/gluon-config-mode-theme/files/lib/gluon/config-mode/www/static/gluon.css 1 addition, 1 deletion...de-theme/files/lib/gluon/config-mode/www/static/gluon.css
- package/gluon-config-mode-theme/sass/gluon.scss 6 additions, 0 deletionspackage/gluon-config-mode-theme/sass/gluon.scss
- package/gluon-web-osm/files/lib/gluon/web/view/model/osm/map.html 44 additions, 0 deletions...gluon-web-osm/files/lib/gluon/web/view/model/osm/map.html
- package/gluon-web-osm/files/lib/gluon/web/www/static/gluon-web-osm.js 1 addition, 0 deletions...n-web-osm/files/lib/gluon/web/www/static/gluon-web-osm.js
- package/gluon-web-osm/files/lib/gluon/web/www/static/osm.js 0 additions, 1 deletionpackage/gluon-web-osm/files/lib/gluon/web/www/static/osm.js
- package/gluon-web-osm/javascript/gluon-web-osm.js 84 additions, 0 deletionspackage/gluon-web-osm/javascript/gluon-web-osm.js
- package/gluon-web-osm/javascript/osm.js 0 additions, 72 deletionspackage/gluon-web-osm/javascript/osm.js
- package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua 43 additions, 0 deletions.../gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
Loading
Please register or sign in to comment