-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Measurement widget #150
Comments
Hi @MichelleJean28, I encourage you to check out my repo which integrates the open source project CMV (Configurable Map Viewer) with Calcite Maps. It includes the Esri Measurement widget as well as a number of other core widgets and many widgets contributed by the CMV community. I am one of the lead developers for the CMV project. The initial version of my repo uses the Esri JS API 3.x version as a proof of concept. I have another repo that integrates CMV, calcite maps and the Esri JS 4.x version that will soon be public. I plan to add more capabilities as CMV and Calcite Maps continue to evolve. I hope this helps. |
Hi @MichelleJean28, Sure you can use a webmap. Full support for the current webmap specification was added to CMV a few months back. You just need to provide the webMapId in viewer.js. You can even mix and match layers and widgets defined in the webmap with additional operational layers and widgets within those sections of viewer.js. A couple of additional comments...
If you need additional support with cmv and cmv-calcite-maps, we can support you within those GitHub repos or in our Gitter chat room. EDIT: Forgot to mention that if you need more widgets beyond the CMV core and contributed widgets, many of the widgets for WebApp Builder will work too using the method I've documented here. We are working to integrate that fully within cmv just as we did for webmaps. I have not tried to use those WAB widgets with Calcite Maps (or a webmap). There may well be some css style issues with the conflicting WAB and Calcite themes. |
@tmcgee awesome work and thank you. I'll dig into this more after devsummit. |
@MichelleJean28 We don't have a measurement widget quite yet for 4.x, but when it's available it will be here in the master4 branch. |
This has been very helpful, thank you @tmcgee for the quick and comprehensive support. You are doing a great job with CMV. |
Thank you @alaframboise |
Could you provide the code for the Measurement widget?
JS 4.x does not support this widget, but it should work in calcite-maps JS 3.x.
Thank you!
The text was updated successfully, but these errors were encountered: