Comments (7)
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.
from calcite-maps.
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 are working with a Portal webmap instead of one at arcgis.com, you will need to change the
arcgisurl
from the default. I believe you can also retrieve the full webmap json from portal and just use that. I don't work with portal at all so not sure these approaches have been fully tested. -
I noticed that another developer commented out the webmap mixin in a recent update to cmv. (It needs to be un-commented at 3 places in that file) I have asked him if there is a reason for that. I suspect it unintentional and we'll have that remedied in the next few days.
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.
from calcite-maps.
Hi @tmcgee,
Thank you, CMV with Calcite Maps looks really great with all these widgets.
I would like to use it as a web app template. Is there a way to automatically use the layers available in the web map? In viewer.js each layer has it's own URL inserted manually.
from calcite-maps.
@tmcgee awesome work and thank you. I'll dig into this more after devsummit.
from calcite-maps.
@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.
https://github.com/Esri/arcgis-js-api/tree/4master
from calcite-maps.
This has been very helpful, thank you @tmcgee for the quick and comprehensive support. You are doing a great job with CMV.
from calcite-maps.
Thank you @alaframboise
from calcite-maps.
Related Issues (20)
- map.View is not a function HOT 2
- Missing icon when using ArcGIS API 4.8 HOT 1
- How we can open multiple widgets? HOT 5
- dojo domConstruct.create errors
- How to listen to events of calcite-maps HOT 2
- Search dropdown not working HOT 2
- Hooking into search for custom popup HOT 3
- Cannot install bower dependancy
- how to use it with webpack HOT 3
- Load bootstrap.js not work
- Bootstrap Does not work when https://js.arcgis.com script is added
- Can we still use JavaScript to open/close widgets?
- Any progress for Bootstrap 4 (leaflet / jquery)? HOT 3
- Security vulnerabilities with minimatch, grunt-cli using npm audit
- style explorer link error
- Status of Calcite Maps? HOT 10
- to implement editor widget?
- deprecated? HOT 1
- Live Map not running
- Search widget in calcite panel
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 calcite-maps.