Re: [OpenMap Users] adding OMGraphics on the fly

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 7 Dec 2004 14:31:16 -0500

You need to call generate(Projection) on the OMGraphic, the other
OMGraphics should be OK if the map isn't changing.

- Don


On Dec 7, 2004, at 2:12 PM, SteveC wrote:

> * Don Dietrick (dietrick_at_bbn.com) wrote:
>> Make sure you call generate(Projection) on it before calling
>> layer.repaint(), or it won't know how to draw itself on the map. You
>> should be able to get the projection from the layer.
>
>
> Sorry, it disappears and then comes back if I resize the window... so
> I'm guessing something is done in projectionChanged that I'm not.
>
> have fun,
>
> SteveC steve_at_fractalus.com http://www.fractalus.com/steve/
> --
> [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 Tue Dec 07 2004 - 14:32:19 EST

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