ivosturm / arcgis Goto Github PK
View Code? Open in Web Editor NEWAdvanced ArcGIS widget for Mendix
Advanced ArcGIS widget for Mendix
Hi, When we try to use the widget in Mendix 7.22.1 we get an error while bundling the widgets. Please see the attached log
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!
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)"
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.