[OpenMap Users] RpfLayer repaint

From: James Wu <jwu@globalinfotek.com>
Date: Wed Jan 26 2005 - 10:09:11 EST

Hello,

I am using RpfLayer to display a map. I tried to change "opaque"
property programmatically, but the layer does not take effect itself
unless I manually resize the frame of the map. Why layer's repaint()
function does not refresh map? Someone help me please.

Thanks
-James

// sample code
Layer layer = ...; //get the RpfLayer

Properties props = layer.getProperties(null);
props.setProperty("cadrg.opaque", "255");
layer.setProperties(props);

layer.repaint();

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jan 26 10:12:05 2005

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:40 EDT