One issue that I've come across with the imageServer is that you must
implement the "renderDataForProjection" method in your layer, otherwise it
will not render.
Just a thought.
-----Original Message-----
From: Mike Roberts
To: openmap-users@bbn.com
Sent: 5/5/04 7:26 PM
Subject: [OpenMap Users] Init/Debug of layers in a servlet
Hi All -
I created the attached servlet, which uses openmap and the default
properties file. In the form attached, it works fine, and generates a
nice
default map with the default layers. Very pretty !
However, I have a question about the initialization of layers. If I pass
in an array of layers and a jpeg formatter to the ImageServer, rather
than
letting it make its own layer structure from the properties file I get
nothing out (I'm using just the data layer as a starting point). Lines
125/126 show this behavior.
I've looked at the layer I create and it looks fine, and has the same
props as
the date layer created in the SimpleHttpImageServer which I used a
starting point. Could someone have a quick scan throught the code and
let
me know what I'm doing wrong - I'm sure I have not initialized something
which needs attention when the ImageServer is constructed in the manner
described.
thanks for your time !
Mike Roberts
<<>>
-- [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 May 6 09:36:12 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT