Comments (2)
Here is my code, error
error TypeError: Cannot read property 'length' of undefined
_ControllerBase.js:95
Error:
`
//centralized error handler
handleError: function (options) {
if (this.config.isDebug) {
if (typeof(console) === 'object') {
for (var option in options) {
if (options.hasOwnProperty(option)) {
console.log(option, options[option]);
}
}
}
`
My code:
`var ___operational_layer =
{
type: 'vectortile',
// title: 'State',
// url: "https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Diverse_Index/VectorTileServer/resources/styles/root.json?f=json",
url: "https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Diverse_Index/VectorTileServer",
options: {
id: 'vectortile111111',
opacity: 0.8,
visible: true
}
}; // layers`
from cmv-app.
Never mind, I fix my bugs. So it works fine now. closed
from cmv-app.
Related Issues (20)
- field value should contain hyperlink in a popup obtain from search widget in 2.8 versionWeb App builder developer edition
- Removing infoTemplate on setMapClickMode HOT 2
- Create Dialog Box Dynamically,Get user input values and Add Text Graphics on Map ? HOT 1
- Toggle Labeling menu LayerControl widget Layers ? HOT 5
- Can only identify top layer in Grouped Layer configuration HOT 5
- add WMS-C layer
- Print Scale Error HOT 3
- can cmv be localized??? HOT 4
- example to use Arcade in a customized identify config file HOT 2
- Feature Server support?
- support arcgis javascript api v3.33? or v3.28 HOT 4
- Are you going to make v4.16 version of CMV? v3.x will retired in 2022 as ESRI claimed HOT 4
- Save Layer Visibility State in URL Query Params HOT 2
- How put an accordion in left pane HOT 2
- BUG? - LayerControl doesn´t show all simbology
- Doubt: how open sidebarBottom programatically? HOT 1
- Zoom Level in Attribute Grid HOT 1
- Missing iconClass in widget config causes crash while loading on mobile HOT 1
- Home Button bug HOT 3
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 cmv-app.