Not sure if this is what you mean, but: topleft point -> map.getExtent().top and map.getExtent().left width -> map.getSize().w
Best regards, Bart Kwong Hu Kiu wrote: > > > I need this urgently. > > No one has any idea ? > > Cheers. > > > ------------------------------------------------------------------------ > From: kwon...@hotmail.com > To: users@openlayers.org > Date: Sat, 2 May 2009 11:36:13 +0800 > Subject: [OpenLayers-Users] Tiff file Calculation. > > Hi, > > If anyone knows if Openlayers has any function to calculate the Tiff > file ? > > double pixelHeight = (topLeftPoint.Y - lowerRightPoint.Y) / > imageSize.Height; > double pixelWidth = (lowerRightPoint.X - topLeftPoint.X) / > imageSize.Width; > > I have done it before in c#. So openlayers has any utility that allow > me to get the topleft point and image's width ? > > (Or) > > Someone must have already written a control for it and i just need to > download from the trunk area. > > Cheers. > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users