Tag Info

New answers tagged

0

Define new geoext layer container (this solution can also be applied by specifying filter directly to gx_overlaylayercontainer but dont have example code). Ext.define('GSIP.core.geoext.DynamicLayerContainer', { extend: 'GeoExt.tree.LayerContainer', alias: 'plugin.gsip_dynamiclayercontainer', /** * The default text for the target node. ...


1

in ext & geoext (dont know much about opengeo, I just know they are pretty similar) you can manually (or programmatically) add layers to the treestore in groups like this ...{ text: "Natural Dangers", leaf: false, expanded: true, children: [{ text: ...


1

The thing is that the legend of a wms service is actually an image. Having said that how can you display an image inside the tree? what I usually do is either use the Legend Panel, which i can understand is neither handy or neat or use an event to manually get the legend of the layer and display it somewhere more handy. for example: ...


1

Your for loop will not be entered, because you are trying to get the length of mapPanel.map, which will be undefined. Try to get the length of mapPanel.map.layers instead: listeners: { 'select': function(combo, record) { for(var i = 0; i < mapPanel.map.layers.length; i++) { var myLayer = mapPanel.map.layers[i].name; if (myLayer == ...


1

I can see that this question is similar to How to Start Web Mapping?, but it is slightly different since the OP has zeroed in on a Stack; Hence I think it merits an proper answer. All of the softwares that you mentioned, work with each other, and truly understand them, you should learn them simultaneously. I'll recommend that you start with this Penn ...



Top 50 recent answers are included