I was in the debug mode.And I create a Layer Properties button ,but it is only show the title. the code for it,

 * @require plugins/LayerProperties.js
  ptype: "gxp_layerproperties",
  actionTarget: ["tree.tbar"]

How can I do to get a button as Layer Properties on geoexplorer tree panel that has 3 tags,like about,display and available styles? Especially the display tag is more important to move opacity slidebar.

  • What type of layer are you using it on? It generally only works on WMS layers. – bartvde Oct 18 '13 at 10:41
  • I used WMS layers.I got the layer properties button, but it only show the title bar. – user23048 Oct 18 '13 at 15:28
  • Do your WMS layers come from a WMS source? You may want to look at this example and try to align your code with it: github.com/boundlessgeo/gxp/blob/master/examples/viewer.js – ahocevar Oct 19 '13 at 10:32
  • I think I must change the title for this question. How I can do to add a slider opacity under every raster layer? – user23048 Oct 19 '13 at 16:43

Your Answer

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

Browse other questions tagged or ask your own question.