[Geomoose-users] Selective layer controls?
Dan Little
danlittle at yahoo.com
Tue Aug 17 10:29:10 EDT 2010
I'm really working to catch up on the list so I apologize if this, and any other
email I write today, is a bit jumbled.
There's not really a guide to tweaking the CSS. It's a "If you're brave enough
to be in here, you should know what you're doing" operation. I would highly
recommend that you create a separate CSS file that is included after the theme
file. That way the file will over-ride the settings and you can experiment
without impacting the original CSS.
There is a balance between using the catalog specific settings and the default
settings which can be modified using the <param> elements in the config.
However, if you want more fine grained control you could do the following:
<param name="catalog.show_controls" value="true"/>
<param name="layer_controls.up.on" value="false"/>
<param name="layer_controls.down.on" value="false"/>
<param name="layer_controls.fade.on" value="false"/>
<param name="layer_controls.unfade.on" value="false"/>
<param name="layer_controls.refresh.on" value="false"/>
<param name="layer_controls.cycle.on" value="false"/>
<param name="layer_controls.legend.on" value="true"/>
<param name="layer_controls.metadata.on" value="true"/>
----- Original Message ----
> From: Johan Forsman <Johan.Forsman at LA.GOV>
> To: "geomoose-users at lists.sourceforge.net"
><geomoose-users at lists.sourceforge.net>
> Sent: Thu, August 12, 2010 10:28:41 AM
> Subject: [Geomoose-users] Selective layer controls?
>
> Hello All:
>
> On GM 2.2, is there a way to have the layer controls turned off in the mapbook
>but still enable the metadata control?
>
> I like having the overall cleaner look of auto-expanding the legend when a
>layer is selected, but hiding it all otherwise, so I have set
>catalog.show_controls=false and am using the show-legend feature in the catalog
>definition. However this also removes any metadata links.
>
> Ideally I'd like to have the metadata icon (blue question mark) show inline
>with the layer title in the catalog rather than on the next row, while hiding
>the legend show/hide control and auto-expanding any legend as the layer is
>turned on.
>
> I did find the catalog-controls-container setting in catalog.css, which leads
>to another question: Is there a brief guide available describing how to use the
>css-files to "tweak" the look of the catalog, such as getting things to align
>"just right" in both rows and columns? Any GM-specific keyword dictionary? Any
>advice here is most welcome.
>
> Thanks!
>
> ----------------------
> Johan Forsman
> Geologist
> Safe Drinking Water Program
> Louisiana Department of Health and Hospitals
> Office of Public Health
> Telephone: 225.342.7309
> Telefax: 225.342.7303
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
More information about the Geomoose-users
mailing list