[Users] MapFish Tree-Model convert to geoext?
Stephan Holl
stephan.holl at intevation.de
Mon Mar 8 17:01:14 CET 2010
Hallo GeoExt-users,
I have a MapFish-1.1-based LayerTree with a large model. Is there a way
to convert this to GeoExt.tree.*?
The Model is currently defined as following:
var model = [
{
text: "blablabl",
expanded: true,
icon: Ext.BLANK_IMAGE_URL,
children: [{
text: "Kartenpräsentation",
expanded: true,
icon: Ext.BLANK_IMAGE_URL,
children: [{
text: "Standard",
checked: true,
id: "standard",
href: "javascript:toggleLayerLink('Standard')",
icon: Ext.BLANK_IMAGE_URL,
layerName: "Topographie - Standard"
},
{
...
}]
},
{
text: "Digitale Orthophotos (Luftbilder)",
expanded: false,
icon: Ext.BLANK_IMAGE_URL,
children: [{
text: "farbig",
checked: false,
id: "farbig",
href: "javascript:toggleLayerLink('farbig')",
icon: Ext.BLANK_IMAGE_URL,
layerName: "Digitale Orthophotos 20cm"
},
....
}];
TIA for your hints.
Best
Stephan
--
Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33 508 3663
Intevation GmbH, Neuer Graben 17, 49074 OS | AG Osnabrück - HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://www.geoext.org/pipermail/users/attachments/20100308/d1f6ccb5/attachment.pgp
More information about the Users
mailing list