Re: [OpenMap Users] Anonymous Layer added with RouteLayer

From: Don Dietrick <dietrick_at_bbn.com>
Date: Thu, 8 Jul 2004 11:38:08 -0400

On Jul 8, 2004, at 11:13 AM, serrotam wrote:

> I suspected as much. Though, my confusion remains as
> to how to deal with this. Am I incorrectly adding the
> RouteLayer (from the examples.simple) to the
> mapHandler? I'm simply doing:
>
> RouteLayer rlayer = new RouteLayer();

rlayer.setName("Routes");

- Don

> _mapHandler.add(rlayer);
>
> I am not explicitelly adding the OverviewMapHandler's
> layer to the mapHandler. I appreciate your help.
>
> tia
>
> --- Don Dietrick <dietrick_at_bbn.com> wrote:
>> Anonymous is the default name given to a layer that
>> doesn't know its
>> name, i.e 'prettyName'.
>>
>> If the OverviewMapHandler's layer is appearing in
>> the Layers Menu, that
>> indicates that its layer is being added to the
>> MapHandler and therefore
>> to the LayerHandler. The overviewMapHandler layer
>> shouldn't be added
>> to the LayerHandler, it manages its layers
>> separately for the main
>> application layers.
>>
>> - Don
>>
>> On Jul 7, 2004, at 2:36 PM, serrotam wrote:
>>
>>>
>>> Newbie question. Can any one explain what is
>> going
>>> on with an Anonymous layer that is being added
>> when I
>>> add a RouteLayer
>>> (com.bbn.openmap.examples.simple.RouteLayer) to an
>>> OpenMapFrame- mapHandler?
>>>
>>> Everytime I add the RouteLayer, I notice an
>> extra
>>> layer labeled "Anonymous" in the Layer menu
>> listing.
>>> When I save the openmap.properties I see that this
>> is
>>> associated with a - overviewMapHandler - layer
>>> properties. Which is
>>> com.bbn.openmap.layer.OverviewMapAreaLayer
>>>
>>> I appreciate any hints.
>>>
>>> tam
>>>
>>>
>>>
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> New and Improved Yahoo! Mail - Send 10MB messages!
>>> http://promotions.yahoo.com/new_mail
>>> --
>>> [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"]
>>>
>>>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, dietrick_at_bbn.com
>> BBN Technologies, Cambridge, MA
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> --
>> [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"]
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> --
> [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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Thu Jul 08 2004 - 11:38:25 EDT

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