[OpenMap Users] Init/Debug of layers in a servlet

From: Mike Roberts <(hidden)>
Date: Wed May 05 2004 - 20:26:47 EDT

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 Wed May 5 20:42:22 2004

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