[OpenMap Users] still trying to get layers to turn on...

From: Ben Podoll <benjamin.podoll_at_und.edu>
Date: Tue, 3 Aug 2004 12:02:46 -0500

What is happening programmatically when you turn a layer on via the menu on
the default application?

I am trying to figure out how to take my BasicMapPanel and turn on layers
programmatically but following the code from that menubar is a lost cause.
Any suggestions?

I can't imagine it is all but a few lines of code to get from the
BasicMapPanel to turn a layer on and off.

I have been able to get the LayerHandler (from the BasicMapPanel) and then
get all the layers from it... But setVisible() doesn't seem to do much
(neither does a few of the other methods that I thought would) unless the
layer is on by default - so can anyone point out the step I am missing?


[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 Tue Aug 03 2004 - 13:04:44 EDT

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