Code Monkey home page Code Monkey logo

arcgis's People

Stargazers

 avatar

Watchers

 avatar  avatar

arcgis's Issues

TypeError: cannot read property 'setSpatialReference' of undefined.

Getting a console error about spatial reference. I have tried the default 102100 and the wkid 3857, but receive the following:

TypeError: Cannot read property 'setSpatialReference' of undefined
    at S.<computed>.E.<anonymous> (ArcGIS.js?637556528607360354:1141)
    at mxui.js?637556528607360354:5
    at S.<computed>.E._successHandler (Task.js:6)
    at S.<computed>.E._handler (QueryTask.js:11)
    at mxui.js?637556528607360354:5
    at Object.load (QueryTask.js:7)
    at eval (request.js:17)
    at b (mxui.js?637556528607360354:5)
    at v (mxui.js?637556528607360354:5)
    at e.Deferred.resolve.callback (mxui.js?637556528607360354:5) "TypeError: Cannot read property 'setSpatialReference' of undefined
    at S.<computed>.E.<anonymous> (http://localhost:8081/widgets/ArcGIS/widget/ArcGIS.js?637556528607360354:1141:21)
    at http://localhost:8081/mxclientsystem/mxui/mxui.js?637556528607360354:5:27280
    at S.<computed>.E._successHandler (http://localhost:8081/widgets/ArcGIS/lib/esri/tasks/Task.js:6:104)
    at S.<computed>.E._handler (http://localhost:8081/widgets/ArcGIS/lib/esri/tasks/QueryTask.js:11:130)
    at http://localhost:8081/mxclientsystem/mxui/mxui.js?637556528607360354:5:27280
    at Object.load (http://localhost:8081/widgets/ArcGIS/lib/esri/tasks/QueryTask.js:7:145)
    at eval (http://localhost:8081/widgets/ArcGIS/lib/esri/request.js:17:332)
    at b (http://localhost:8081/mxclientsystem/mxui/mxui.js?637556528607360354:5:47493)
    at v (http://localhost:8081/mxclientsystem/mxui/mxui.js?637556528607360354:5:47280)
    at e.Deferred.resolve.callback (http://localhost:8081/mxclientsystem/mxui/mxui.js?637556528607360354:5:48099)"

Have to log into ArcGIS Online every time the page loads? Missing token?

I always have to sign into ArcGIS Online when my pages load. Why? There's an error about missing tokens:

Error: Token Required
    at Object.E.a.load (request.js:5)
    at mxui.js?637556528607360354:5
    at b (mxui.js?637556528607360354:5)
    at v (mxui.js?637556528607360354:5)
    at e.Deferred.resolve.callback (mxui.js?637556528607360354:5)
    at b (mxui.js?637556528607360354:5)
    at v (mxui.js?637556528607360354:5)
    at e.Deferred.resolve.callback (mxui.js?637556528607360354:5)
    at mxui.js?637556528607360354:5
    at u (mxui.js?637556528607360354:5)
(anonymous) @ mxui.js?637556528607360354:79

I don't see anything token related in the widget configuration.

No constructor found for widget ArcGIS.widget.ArcGIS

We are using the ArcGIS widget in our project. When we deploy the application to the Mendix cloud, we get an error message: No constructor found for widget ArcGIS.widget.ArcGIS. Locally the ArcGIS widget works if we uncheck the 'bundle widgets' option in the project settings. Has anyone else encountered this? How can we resolve? Thanks!

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.