Hi,

OL image layer does not maintain aspect ratio?????? 

I hardcoded correct dimension values that match the file that I'm testing, and 
tested it. 

Observations: OL does not maintain the aspect ratio when the image is 
displayed.. 

WOW. Can someone from OL confirm this behavior???

And either way, yes or no, how to fix it? I mean as a user how I code it so 
that it is maintained?

Thanks.

JK

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of jk
Sent: Wednesday, August 24, 2011 1:27 PM
To: [email protected]
Subject: [OpenLayers-Users] how to change the size of OpenLayers.Layer.Image

Hi,

I am trying to use OL to view military images, jpeg, of various dimensions.
I need to maintain the orginal aspect. Now, how to specify the size values when 
creating a new Layer.Image?

Is it possible to change those values after image loads?

How?

Thanks.

JK

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/how-to-change-the-size-of-OpenLayers-Layer-Image-tp6721664p6721664.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to