I have a map created with Google Maps. I want to overlay over some data I am downloading dynamically, covering the whole world. That data is a matrix as follows:
1024 values for the longitude (fixed 0.3515625 degrees/value)
512 values for the latitude (fixed 0.3515625 degrees/value)
I have created an html5 canvas that I populate dynamically with the data above, as one pixel per value of the input matrix.
However, the superimposed image does not match the (Google Maps) map below, which is in Mercator projection.
I have searched how to specify a specific projection for the overlay, expecting Google Maps to stretch the canvas for me, but I am afraid it won't do that, and will only convert the corner coordinate.
Is there a way to tell Google Maps to dynamically reproject my image? (a la GDAL, but in realtime).