1

Looking at GXP examples here they do not list the dependencies within the JavaScript file, so I was wondering how to make the files work. I would assume just copy the JavaScript file, e.g. viewer into my SDK app.js file and build that. However it just loads a white screen when I load it.

Any hints on how to sue these examples?

0

For most components you add, the only dependency is the file that provides the component itself. On rare occasions, there may be a missing dependency. But in general, if you e.g. add gxp.plugins.LayerManager, you only need to add the @require plugins/LayerManager.js dependency.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.