Comments (4)
This is a little hard to help debug without more info. The local demos should work okay. Did you download the entire repository and then try to run the main demo? Are you using a web server on your computer? (you do not want to navigate to the demo's index.html
in your browser to a URL that looks like file://...
)
from canvas-flowmap-layer.
Sorry, this is entirely my fault. I didn't clone the repo and try to run the main demo, but rather copied files one by one.
The problem was: it tried to load config.js from http://config.js/ -- that's why I was assuming that it is required from esri.
This now works, but I still have no idea how config.js is loaded.
Regards
from canvas-flowmap-layer.
No worries and glad you got it working. As for config.js, we instruct Dojo (what the Esri JSAPI is built on top of) to become aware of other JavaScript resources in addition to the modules that it comes with out of the box. In our demos, we inform it that we need to be able to reference some local js files like this:
https://github.com/sarahbellum/Canvas-Flowmap-Layer/blob/master/demos/main/index.html#L28-L41
from canvas-flowmap-layer.
This answers all my questions. Thanks
from canvas-flowmap-layer.
Related Issues (7)
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 canvas-flowmap-layer.