[OpenMap Users] Layer dosen't "update" after call to MapBean.setCenter(lat, lon)

From: Davidian <kroberts_at_syrres.com>
Date: Wed, 30 Jan 2008 11:06:37 -0800 (PST)

Ok, I want to specify that this doesn't always happen, but sometimes it does.
It appears that this behavior occurs mostly when I first open the
application and there are not many items in the layer's OMGraphicList.

Anyway, my setup:

1) I have an OMGraphicHandlerLayer which I do NOT set the
ProjectionChangePolicy for (defaults to StandardPCPolicy).

2) When I pan the map around with PanMouseMode or ZoomMouseMode, everything
updates correctly and display properly.

3) However, when I change the display by calling MapBean.setCenter(lat, lon,
zoom) there are times when the OMGraphics are not displayed until I manually
change the projection by zooming in or out. I can regularly reprocude this

Anyone have any ideas? If you need more info, let me know. I have tried
various things, but nothing seems to fix this. I love OpenMap, but this is
getting frustrating.


View this message in context: http://www.nabble.com/Layer-dosen%27t-%22update%22-after-call-to-MapBean.setCenter%28lat%2C-lon%29-tp15189506p15189506.html
Sent from the OpenMap mailing list archive at Nabble.com.
[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 Wed Jan 30 2008 - 14:08:38 EST

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