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.
- Don
On Dec 7, 2004, at 1:42 PM, SteveC wrote:
> hi,
>
> I can remove and select() OMGraphics and call rapaint() in my Layers
> and
> things update nicely. If I add() a graphic though, it doesn't get
> displayed but is in the OMGraphicList and the display can do strange
> things like not display other things I do after I've added a graphic.
>
> Am I missing some call after the add() ? Do I have to tell the mapBean
> to redraw everything?
>
> tia
>
> 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:09:39 EST