[OpenMap Users] MapBean refresh problems

From: Sperlongano Brian M NPRI <SperlonganoBM@Npt.NUWC.Navy.Mil>
Date: Thu Feb 19 2004 - 15:53:20 EST

I'm having problems getting my map to refresh after adding OMGraphic elements to layers. I've tried using the validate() and repaint() methods to no avail.
 
The hack that I used to get around this is something like this:
 
(map is of type MapBean)
 
map.setScale(map.getScale());
 
This is the only way I can get the map to repaint, and it's far slower that I would like. Is there a decent way to repaint after adding an object?
 
-Brian

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Feb 19 16:48:38 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT