ImageOverlay does not render correctly if polygon is not North-South aligned
I've been trying to use ImageOverlay to overlay an aerial image on my terrain. I first aligned the image with the terrain in Google Earth to obtain the coordinates for the corner points. I include a screen shot of the result here: https://drive.google.com/open?id=0BxFJunbfwjckQ3Q0V1dfeDlvN00 . But when I modify the annotation.earth example file to use these corner points and this image for the ImageOverlay, I end up with this : https://drive.google.com/open?id=0BxFJunbfwjckNVRFLW9oTUY0NTg . This looks like a bug to me and I have also reproduced it by simply rotating the original image overlay that was in annotation.earth by 45 degrees. Can someone confirm whether this is a known limitation of the ImageOverlay class or whether a workaround exists?
Re: ImageOverlay does not render correctly if polygon is not North-South aligned
Hi Hannes, and Jason,
I noticed that the patch does not work when the map is in projected mode (plate-carre). Indeed, the image is west-east oriented instead of north-south. I think the texture of the coordinates in the ImageOverlay are flipped too many times.