[OpenMap Users] remove a layer (via MapBean)

From: Ben Podoll <benjamin.podoll_at_und.edu>
Date: Mon, 2 Aug 2004 18:45:16 -0500

I have a BasicMapPanel and I have my openmap.properties file display states,
counties and river.

Now that the application is up and running I want to use a custom button to
turn on/off layers.

The MapBean javadocs make it sound like I can turn on/off a layer via it's
methods. They say to use the remove() and add() methods...

But I don't see how I can get at the layers?

I was hoping there was a method like:

Or better yet:

Is there something like this at my finger tips since I can get at the


[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 02 2004 - 19:46:10 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT