…pronounced ˈbeɪsɪks/
, like the english word basics
.
BasiGX is an ExtJS package used to create modern GIS-Applications based on ExtJS 6, GeoExt 5 and OpenLayers 7. It consists of multiple components that helps the developer to put together a customized app quickly.
- Node.js 10.13.0 or later
- npm 6.8.0 or later
- http://terrestris.github.io/BasiGX/master/docs/
- http://terrestris.github.io/BasiGX/master/docs-w-ext/
Assuming you already have setup or freshly created an ExtJS 6 application, you just need to
- Add GeoExt by installing it via npm:
npm i @geoext/geoext
- Add BasiGX by installing it via npm:
npm i @terrestris/basigx
- Add
GeoExt
&BasiGX
to the classpath inapp.json
.
"classpath": [
"app",
"${toolkit.name}/src",
"node_modules/@terrestris/basigx/src",
...
- Add the sass directory of
BasiGX
to the sass -> src configuration inapp.json
.
"sass": [
...
"src": [
"sass/src",
"${toolkit.name}/sass/src",
"node_modules/@terrestris/basigx/sass/src"
...
]
...
BasiGX does not officially support Internet Explorer. If BasiGX is used in an environment where supporting IE is required, please make sure to add required polyfills to your project.
Example:
Download a polyfill for Url()
(e.g. https://www.npmjs.com/package/url-polyfill) and reference it in your app.json
:
"js": [
{
"path": "./<path>/<to>/<your>/polyfill.min.js"
},
]
Feedback is more than welcome. Please open an issue or contact us directly via [email protected]
GPL v3