« Return to Thread: Layer dosen't "update" after call to MapBean.setCenter(lat, lon)

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

by Davidian :: Rate this Message:

| View in Thread

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 behavior.

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.

Thanks,

Kennedy

 « Return to Thread: Layer dosen't "update" after call to MapBean.setCenter(lat, lon)