[OpenMap Users] Problem with printLayerProperties when switching to 4.6.4

From: Frédéric Delanoy <frederic.delanoy_at_gmail.com>
Date: Mon, 16 Jun 2008 11:35:03 +0200

Hi,

I'm using a LayersPanel and the user can change, for instance, fill color
from layers loaded from a binary .shp file.

I've a custom PropertyHandler that basically removes properties from
dynamically generated layers so they aren't saved on exit.

at some point, I have the current code:

    Properties getCurrentViewProperties(LayerHandler layerHandler, MapBean
mapBean) {
        Properties props = new Properties();
        printLayerProperties(layerHandler, this, null, props);
        <...>
    }

This code works nice for openmap 4.6.2 and 4.6.3.
However, when switching to 4.6.4 (same problem with 4.6.5 beta), it stopped
working.

The sequence was so
- load the map
- change the fillColor of a .shp file through the LayersPanel
- exit the app, and the previous function is called.

When debugging, it seems the layerHandler contains the new updated value,
but props still contains the old value.

Could anyone please help ?

Thanks in advance.

Frédéric


--
[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 Jun 16 2008 - 05:36:27 EDT

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