Comments (8)
To get it to load and at least render you need to pull in the .css manually for that component. With a few other background and border overrides you should be able to get to render nicely with Calcite Maps.
<!-- ArcGIS JS 3.x -->
<link rel="stylesheet" href="https://js.arcgis.com/3.20/esri/themes/calcite/esri/esri.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.20/esri/themes/calcite/dijit/calcite.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.20/esri/dijit/LayerList/css/LayerList.css">
from calcite-maps.
LayerList widget now working, just needs a litlle css background.
Thank you @alaframboise !
from calcite-maps.
Hi @ezequias ,
Here is a JS Bin with the sample code.
from calcite-maps.
@ezequias and @TimPeters You might be interested in how we have utilized calcite maps with CMV, the configurable map viewer. The implementation has a full layer list for 3.x as well as many other widgets. Support for 4.x is coming soon. I provided a more detailed answer in issue #150. The repo is available here.
from calcite-maps.
The 3.x doc indicates that the LayerList widget is not supported with the calcite.css theme.
https://developers.arcgis.com/javascript/3/jshelp/css.html
This theme is in beta and does not support all components of the API. The following widgets are supported:
BasemapGallery
BasemapToggle
Bookmarks
Directions
HomeButton
LayerSwipe
Legend
LocateButton
Measurement
OverviewMap
Popup
Print
ScaleBar
Search
from calcite-maps.
@TimPeters post a sample here please.
from calcite-maps.
Thank you very much @TimPeters but the LayerListWidget is much more than that.
from calcite-maps.
I really love it @tmcgee great work. Does it have any kind of licensing?
from calcite-maps.
Related Issues (20)
- Integration with npm for custom build
- 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
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.