<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>Thanks. <br><br>Looks like what I need for the calculation. <br><br>But i would also like to include this tiff world file and the map (bitmap) that's currently displaying on the browser inside a zip archive so the user can download and view them later.<br><br>This might requires some interaction with the server. <br><br>Anyone knows how I can achieve that ?<br><br>Cheers.<br><br>> Date: Sun, 3 May 2009 11:03:12 +0200<br>> From: bartvde@osgis.nl<br>> To: kwonghu@hotmail.com<br>> CC: users@openlayers.org<br>> Subject: Re: [OpenLayers-Users] Tiff file Calculation.<br>> <br>> Not sure if this is what you mean, but:<br>> <br>> topleft point -> map.getExtent().top and map.getExtent().left<br>> width -> map.getSize().w<br>> <br>> Best regards,<br>> Bart<br>> <br>> Kwong Hu Kiu wrote:<br>> ><br>> ><br>> > I need this urgently.<br>> ><br>> > No one has any idea ?<br>> ><br>> > Cheers.<br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> > From: kwonghu@hotmail.com<br>> > To: users@openlayers.org<br>> > Date: Sat, 2 May 2009 11:36:13 +0800<br>> > Subject: [OpenLayers-Users] Tiff file Calculation.<br>> ><br>> > Hi,<br>> ><br>> > If anyone knows if Openlayers has any function to calculate the Tiff <br>> > file ?<br>> ><br>> > double pixelHeight = (topLeftPoint.Y - lowerRightPoint.Y) / <br>> > imageSize.Height;<br>> > double pixelWidth = (lowerRightPoint.X - topLeftPoint.X) / <br>> > imageSize.Width;<br>> ><br>> > I have done it before in c#. So openlayers has any utility that allow <br>> > me to get the topleft point and image's width ?<br>> ><br>> > (Or)<br>> ><br>> > Someone must have already written a control for it and i just need to <br>> > download from the trunk area.<br>> ><br>> > Cheers.<br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@openlayers.org<br>> > http://openlayers.org/mailman/listinfo/users<br>> > <br>> <br>> <br>> -- <br>> Bart van den Eijnden<br>> OSGIS, Open Source GIS<br>> bartvde@osgis.nl<br>> http://www.osgis.nl<br>> <br></body>
</html>