You specify the image height and width as parameters in the url like below:
http://...?REQUEST=map&PROJTYPE=Mercator&SCALE=61874.8&&HEIGHT=500&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