Opened 12 years ago

Closed 12 years ago

#81 closed defect (fixed)

Nested <group> within Catalog not working

Reported by: bfischer Owned by:
Priority: critical Milestone: 2.6
Component: GeoMOOSE/JS Version: 2.6
Keywords: Cc: bfischer

Description

When I try to next Groups within another group in the catalog it does not work. Here's an example.

<group title="Imagery" expand="false">

<!--<group title="Leaf Off Aerial Photos" expand="true" multiple="false">

<layer title="2009 Aerial" src="fsa05/fsa05" legend="false" fade="false" unfade="false"/>

</group>-->
<group title="Leaf On Aerial Photos" expand="true" multiple="false">

<layer title="2010 Aerial" src="mngeo/fsa2010" legend="false" fade="true" unfade="true" tip="FSA 2010 1 meter pixel size." metadata="true">

<metadata>http://www.mngeo.state.mn.us/chouse/metadata/naip10.html</metadata>

</layer>
<layer title="2009 Aerial" src="mngeo/fsa2009" legend="false" fade="true" unfade="true"/>
<layer title="2008 Aerial" src="mngeo/fsa2008" legend="false" fade="true" unfade="true"/>
<layer title="2006 Aerial" src="mngeo/fsa2006" legend="false" fade="true" unfade="true"/>
<layer title="2005 Aerial" src="mngeo/fsa2005" legend="false" fade="true" unfade="true"/>
<layer title="2003 Aerial" src="mngeo/fsa2003" legend="false" fade="true" unfade="true"/>

</group>

</group>

Attachments (2)

mapbook.xml (19.8 KB ) - added by andersd 12 years ago.
Mapbook with folders
mapbook.2.xml (19.3 KB ) - added by bfischer 12 years ago.
Brian's mapbook

Download all attachments as: .zip

Change History (10)

comment:1 by theduckylittle, 12 years ago

Status: newtesting

r780, the titles weren't appearing but the basic renderer was working.

comment:2 by andersd, 12 years ago

I am able to make a group that works fine. It appears that problem may not be with the "group" issue. I created a group for the google stuff just fine by doing what you see below. However, the folder is always "expanded". In addition on TrunkDEMO is was not able to close a folder at all. So the problem may be with the ability to close and expand a folder and not with the group.

<group title="Google" expand="false" multiple="true">

<layer title="Google Streets" src="google_streets/all" status="off" legend="false" fade="false" unfade="false"/>
<layer title="Google Physical" src="google_physical/all" status="off" legend="false" fade="false" unfade="false"/>
<layer title="Google Hybrid" src="google_hybrid/all" status="off" legend="false" fade="false" unfade="false"/>
<layer title="Google Satellite" src="google_satellite/all" status="off" legend="false" fade="false" unfade="false"/>

</group>-->

comment:3 by andersd, 12 years ago

Status: testingneeds_work

comment:4 by theduckylittle, 12 years ago

Dean, can you attach your full mapbook please?

by andersd, 12 years ago

Attachment: mapbook.xml added

Mapbook with folders

in reply to:  4 comment:5 by andersd, 12 years ago

Replying to theduckylittle:

Dean, can you attach your full mapbook please?

Yes - I have attached it to this ticket.

comment:6 by bfischer, 12 years ago

I tested this as well. The nested group folder displays, but if set expand="false". It does not collapse the folder on startup. I've attachment my mapbook as well.

by bfischer, 12 years ago

Attachment: mapbook.2.xml added

Brian's mapbook

comment:7 by theduckylittle, 12 years ago

Status: needs_worktesting

comment:8 by andersd, 12 years ago

Resolution: fixed
Status: testingclosed

This appears to be working now. Tested in Chrome, Firefox, and IE8. Changed nested to both false and true in demo and it worked great.

Note: See TracTickets for help on using tickets.