[OpenMap Users] overviewMapHandler not drawing status layer

From: Tim Schreiner <tjs_at_ll.mit.edu>
Date: Thu, 4 Oct 2007 12:25:50 -0400


I have some code that creates an overviewMap window in my OpenMap
application and uses an overviewMapHandler to do this. The overview map gets
populated with the layers I give it, and is displayed nicely in my
application, but the status layer I created is not being drawn. Is there
something I'm missing in the following code, that enables me to see the
current viewing rectangle in the overviewMap ?

  Properties overviewLayerProps = new Properties();
  overviewLayerProps.put("prettyName", "CrrelView OverView");
  overviewLayerProps.put("lineColor", "ff000000");
  overviewLayerProps.put("fillColor", "ffbdde83");
  ShapeLayer overviewLayer= new ShapeLayer();
  OverviewMapHandler overviewMapHandler = new OverviewMapHandler();
  Layer[] overviewLayers = {overviewLayer};
    new com.bbn.openmap.layer.OverviewMapAreaLayer());
  // myAppPanel is a JPanel in my application


[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 Thu Oct 04 2007 - 12:27:35 EDT

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