Coder Social home page Coder Social logo

vector tile service 4.x supported? about cmv-app HOT 2 CLOSED

hoogw avatar hoogw commented on August 11, 2024
vector tile service 4.x supported?

from cmv-app.

Comments (2)

hoogw avatar hoogw commented on August 11, 2024

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.

hoogw avatar hoogw commented on August 11, 2024

Never mind, I fix my bugs. So it works fine now. closed

from cmv-app.

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.