I have a map (the plane) which can be rotated 360 degrees. When this happens, the rectangle shape that I'm drawing on the map also gets rotated along with the plane. I would like to negate this rotation and have the rectangle drawn as if the plane wasn't rotated.
So essentially, I want the rectangle to look like this image:
Check out the gif in the attachments to see a demo of the actual behavior.
The question is vague. What do you mean by "I would like to negate this rotation and have the rectangle drawn as if the plane wasn't rotated"? Are you talking about doing it on google maps or something, or are you talking about a mathematical way of doing it?
I've added the gif and image as a way to visualize the problem. I'm not looking for a solution related to Google Maps, I'm looking for the mathematical way of doing it, I would then translate that to my specific implementation.
- 136 views
- Thickness of Multiple Spherical Shells
- Can enough pizza dough be made to cover the surface of the earth?
- Deriving Ramanujan's Ellipse approximation
- Make a 2D polygon - but all the side lengths (bar one) are whole numbers, and all angles are multiples of 22.5
- A trigonometry question
- How to show that the composition of two riemannian isometries is an isometry?
- Geometry Problem about Hole Placement on PVC Pipe
- Calculating aspect ratio limits of rotated rectangle within a rectangle