Re: [OpenMap Users] OMScalingRaster setRotationAngle() question

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Mar 05 2004 - 10:54:09 EST

Hi Martin,

I know the OMScalingRaster has methods that try to handle rotation, but
I'm not sure it understands what it should do when its rotated. I
think it assumes that it's covering a specific ground area, and it does
look like there's a possibility of being translated unexpectedly in the
OMRasterObject.render() method.

Just out of curiosity, why are you rotating it? Would the
OMScalingIcon work better for you?

- Don

On Mar 4, 2004, at 5:30 PM, Chapman, Martin wrote:

> Don,
>  
> I am using an OMScalingRaster object to display thumbnails of
> satellite imagery on the map.  It works great for imagery that's not
> rotated but when I use the setRotationAngle() method of the
> OMScalingRaster class, the image rotates correctly, but the image
> moves out of the correct location as I zoom out on the map, in other
> words it moves to the right the more I zoom out.  Do you know why this
> is happening?  Could it be that the translation matrix is being
> applied to the transform after the rotation matrix in the
> OMRasterObject render() method?
>  
> Martin Chapman
> Cell 303-885-1936
> Office 303-660-3933 x226
> mchapman@sanz.com
> http://www.sanz.com
>  
>  

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Mar 5 10:54:20 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT