Re: [OpenMap Users] Re: context is not set

From: Don Dietrick <dietrick_at_bbn.com>
Date: Fri, 10 Feb 2006 17:41:56 -0500

Hi Christope,

This is a problem with the LayerHandler that relates to the one that
Peter Vawser was writing about earlier this week. I think I have it
sorted out, when I'm sure I'll check the changes into the external
repository (which is set for the 4.6.4 beta) and let you know.

- Don

On Feb 10, 2006, at 12:59 PM, christophe.turbout_at_info.unicaen.fr wrote:

> hi,
> I look at the LoadPropertiesMenuItem to solve my problem.
> This method use PropertyHandler class and the
> loadProjectionAndLayers method.
> ph.loadProjectionAndLayers(mapHandler, newProps);
> this method use a layerHandler object and call :
> layerHandler.init(Environment.OpenMapPrefix, props);
> which call getLayers(String prefix, Properties p)
> where we have :
>
> // You don't want to do this, it sets up a cycle...
> // addLayersToBeanContext(layers);
> // loadLayers(null);
> i think this is why we don't have the BeanContext set, i don't find
> a method which set the context anywhere.
> Don, could you tell me if i'am right or totally wrong ?
> We need to load stored maps in our application ... this feature is
> very important for us.
> thanks a lot .
> Regards.
>
>
> christophe.turbout_at_info.unicaen.fr a &eacute;crit:
>> hi, i have some trouble with openmap.properties file and Load Map
>> Properties menu. When I load my openmap.propeties from scratch
>> (using openmap.bat), all is right. If I use Save Map Properties,
>> I have the same file than my initial openmap.properties file,
>> good ! If I try to use my initial openmap.properties with Load
>> File Properties Menu, I have 3 errors : 1) Palette is not hidden
>> (and destroy) when the menu function is used.
>> 2) I can't access to beanContext in my layer ... getBeanContext()
>> return null.
>> 3) Scale and center are not set to the value stored in
>> openmap.properties file. Anybody have an idea ? regards.
>> Christophe Turbout --
>> [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"]
>
>
> Christophe Turbout
> --
> [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"]

--
[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 Fri Feb 10 2006 - 17:43:27 EST

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