Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Hi looking at GXP examples here They do not list the dependencies within the JS file, so I was wondering how to make the files work. I would assume just copy the js 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? Thank you

share|improve this question
    
gxp.opengeo.org/master/script have the javascript files example gxp.opengeo.org/master/script/gxp.js –  Mapperz Jul 16 '13 at 14:37
add comment

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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