Git Product home page Git Product logo

Comments (7)

tmcgee avatar tmcgee commented on August 30, 2024 1

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.

tmcgee avatar tmcgee commented on August 30, 2024 1

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...

  1. 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.

  2. 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.

MichelleJean28 avatar MichelleJean28 commented on August 30, 2024

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.

alaframboise avatar alaframboise commented on August 30, 2024

@tmcgee awesome work and thank you. I'll dig into this more after devsummit.

from calcite-maps.

alaframboise avatar alaframboise commented on August 30, 2024

@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.

MichelleJean28 avatar MichelleJean28 commented on August 30, 2024

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.

MichelleJean28 avatar MichelleJean28 commented on August 30, 2024

Thank you @alaframboise

from calcite-maps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.