[Geomoose-users] show and hide layers in 1.6.1

Mark Volz MarkVolz at co.lyon.mn.us
Wed Aug 19 09:20:44 EDT 2009


Vojko,

Here is javascript that I use to turn layers on and off in GM 1.6.  Please
note you will need both lines of code.


document.getElementById('TreeView0-Map-Standard Background').checked = true;
document.getElementById('TreeView0-Map-Standard Background').onclick();

Mark Volz
GIS Specialist
Lyon County, MN
(507) 532-8218

Message: 3
Date: Fri, 14 Aug 2009 09:53:01 +0200
From: "Vojko Daneu" <vojko.daneu at mail.telepac.pt>
Subject: [Geomoose-users] js code to show/hide layers
To: "GeoMOOSE" <geomoose-users at lists.sourceforge.net>
Message-ID: <A8B298301FC34D228BA52ECA7303BA12 at alpro.local>
Content-Type: text/plain; charset="iso-8859-1"

Hallo,
I want to include a slider in GeoMoose 1.6.1 that controls the visibility of
layers. Does anybody know the name/s of the function/s in the code that
control layer visibility?

Cheers,
Vojko




More information about the Geomoose-users mailing list