[OpenMap Users] Use of BasicMapPanel (UNCLASSIFIED)

From: Lackey, Michael B. \(SED/BTI\) <"Lackey,>
Date: Thu, 5 Jul 2007 10:17:33 -0500

Classification: UNCLASSIFIED
Caveats: NONE

All,

Have created a "shape layer" class which extends BasicMapPanel. Using
Simple2.java as a template, the constructor creates a new ShapeLayer,
adds properties to the layer, sets layer.visible = true, and finally
adds the layer to the mapHandler. I can then display BasicMapPanel
within our frame as desired.

So I tried creating an "rpf layer" class which extends BasicMapPanel.
As before, it creates a new RpfLayer, adds properties to the layer, sets
layer.visible = true, and finally adds the layer to the mapHandler. But
nothing is displayed.

I am using mapBean.setCenter() and mapBean.setScale() to "known good
values". I previously modified openmap.props and was able to
successfully display CADRG files using bin/openmap.bat. I copied the
values from openmap.properties into my code.

What am I missing? Do I need to add a projection, or is that handled
automatically by BasicMapPanel? Any thoughts?

Mike Lackey
Brockwell Technologies, Inc.
256-876-0167
Classification: UNCLASSIFIED
Caveats: NONE

--
[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 Jul 05 2007 - 11:20:30 EDT

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