Comments (3)
I would not be opposed to such a change. I'd call the property treeNodeModel
, though. Other thoughts?
from geoext.
Looks like a viable solution to me. 👍
I'd call the property treeNodeModel, though.
I think model
is a standard configuration option of all Ext.data.Store
subclasses that is set to GeoExt.data.model.LayerTreeNode
already, so this.model
should be fine?
Some unasked (sorry about that) and untested advice: GeoExt.data.model.LayerTreeNode
will be decorated with Ext.data.NodeInterface
which will add model fields like icon
and expanded
as you are using already in your subclass. Instead of initializing the values all at once in the constructor you may be better off setting convert
methods on the fields configuration.
from geoext.
I think model is a standard configuration option of all Ext.data.Store subclasses that is set to GeoExt.data.model.LayerTreeNode already, so this.model should be fine?
Convinced 👍
from geoext.
Related Issues (20)
- Two-way binding between a layer and store in GeoExt.data.store.Features HOT 17
- example link not working HOT 3
- geoext4 with ExtJS v7.0.0 and OpenLayers v6.4.3 HOT 1
- Add GitHubActions CI
- Fix build of gh-pages to include GeoExt Sencha build HOT 1
- Subdirectory to tree.Panel HOT 4
- next geoext release with openlayers 6.5 HOT 9
- Increase line width in eslint
- update geoext page with v4
- GeoExt.selection.FeatureModelMixin event handlers not added
- Add GeoExt 4.0 to website and README
- WFS Store Debouncing calling server twice HOT 1
- Some broken examples HOT 2
- OverviewMap component not working after updating OpenLayers HOT 5
- GeoExt.data.WFSCapabilitiesStore and GeoExt.data.WMSCapabilitiesStore
- Production build of GeoExt HOT 2
- vector tiles problem in Geoext4? HOT 2
- Error when clearing a FeatureCollection
- Just for information purposes: ExtJs 7.5.0.5 and GeoExt4 and OpenLayers 6.7.0 is working, but 6.8.0 upwards not
- Linting action not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoext.