[OpenLayers-Users] OL image layer does not maintain aspect
ratio??????
JK Chen
jk.chen at sdl.usu.edu
Wed Aug 24 16:22:24 EDT 2011
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: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of jk
Sent: Wednesday, August 24, 2011 1:27 PM
To: users at openlayers.org
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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list