Comments (3)
If you have further questions it is best to ask at designated forums like Stack Overflow .
Or register to to the GeoExt User Mailing list and post your question there http://www.geoext.org/cgi-bin/mailman/listinfo/users
from geoext.
The OpenLayers example pretty much includes all there is to it. There is no dedicated measuring tool provided by GeoExt 3 nor Ol3 at this time. Haven't checked your code as I don't want to download RAR files but
if you wan't to build a "Measure tool" button that users use to control the interaction in your app you should have a look at the toggle buttons example in the ExtJS Kitchensink and take a look at the buttons handler configuration. Then adapt The OL3 example code to bind the measure interaction to the map by
- getting the Ol3 map object that is displayed in the GeoExt 3 map component
- add the interaction to the map if the button is enabled
- remove the interaction from the map if the button is disabled
I'll close this issue as it is no bug or feature request (though a measure button may make sense in the future). If you have further questions it is best to ask at designated forums like Stack Overflow .
from geoext.
Thanks :)
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.