Re: [OpenMap Users] Screen not refreshing after changes

From: Gary Briggs <chunky_at_icculus.org>
Date: Sat, 14 Mar 2015 23:29:46 -0400

On Sat, Mar 14, 2015 at 10:47:29PM -0400, Don Dietrick wrote:
> Hi Gary,
>
> Thanks for writing - yes, I’ll be moving OpenMap to GitHub over the next couple of weeks.

Glad to hear it

> As for your problem, I think you just need to call layer.doPrepare(); after you set the list. The layer still thinks the latest projection it has is still valid, and probably thinks it doesn’t need to do work, since it’s already handled that projection change. Calling doPrepare() will force the layer to regenerate the OMGraphicList for the current projection, and will also call repaint() on the layer for you.

Yes, that fixed it. Thank-you!

Any news on a class that can read Circles rather than just points from CSV?

Cheers
Gary

--
[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 Sat Mar 14 2015 - 23:31:40 EDT

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