Re: Hi to everyone

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Aug 02 2002 - 09:25:32 EDT

Hi Leonidas,

On Friday, August 2, 2002, at 08:20 AM, Williams, Leonidas (IndSys,
GEPC) wrote:

> Hi to everyone:
>
> I am implementing a servlet version with OpenMap. I have the servlet
> that
> builds the image and send it to the HTML page, so all is working fine.
>
> My problem is that I am not able to execute a ZoomIn operation. I tried
> to
> modify the Scale attribute in the projection object in the
> MapRequestHandler, but no change is produced. What am I doing bad??

If you want the servlet to return a map that is more zoomed in, you can
do a couple of things. The openmap.properties file has projection
arguments that set the default projection that is used when no arguments
are provided by the client in the servlet arguments.

The client (the browser or OpenMap component) can change the scale of
the map by providing a SCALE argument in it's request. The JavaDocs in
the SimpleHttpImageServer should what the format of the request should
look like.

> Should I use the WMSPlugIn?? How should I setup this plugin??

This depends on if you want to use an OpenMap client. You can use the
SHISPlugIn to use your servlet and display the image it returns. The
SHISPlugIn automatically creates a request string based on its MapBean's
projection.

You add a PlugIn the same way as you add a layer, but modifying the
openmap.properties file for the client application (not the
openmap.properties file for the servlet).

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Fri Aug 2 09:25:50 2002

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