Re: [OpenMap Users] MapRequestHandler image width and height

From: Carsten . Madsen <com_at_navicon.dk>
Date: Tue, 14 Feb 2006 07:37:54 +0100

You specify the image height and width as parameters in the url like below:

http://...?REQUEST=map&amp;PROJTYPE=Mercator&amp;SCALE=61874.8&amp;&amp;HEIGHT=500&amp;WIDTH=700

/carsten

Greg Bulla wrote:

>We're using OM's MapRequestHandler class in a servlet. We want to be
>able to request a map image smaller than 640 by 480, but it doesn't
>appear that OM will allow this even if you set the (default?) width
>and height in the properties. For example, it is set to
>
># APPLICATION WINDOW DIMENSIONS
>
># Width and Height of map, in pixels
> openmap.Width=480
> openmap.Height=360
>
>but always returns an image of 640x480 if you don't specify the size.
>It returns a larger image if you request that, like 800x600, but
>ignores smaller requests.
>
>Am I doing something wrong here? Any workarounds?
>
>Greg
>
>--
>[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"]
>
>

--
[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 Tue Feb 14 2006 - 01:39:00 EST

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