On Jan 6, 9:34 am, Bill Chadwick <[email protected]>
wrote:
> I have now used a similar technique to achieve the same re-projection
> in MSIE
>
> See here
>
> http://wtp2.appspot.com/warpdemoie.htm
>
> I plan to bring both techniques together to provide cross-browser
> support.

Have you tried using CANVAS (getImageData / putImageData) ?  In
general, CANVAS tiles are quicker than SVG tiles once rendered.  You
can do sixteen different pixel operations in CANVAS with the
"globalCompositeOperation".

I realize you have to reposition pixels both horizontally & vertically
but you might be able to do it in two steps.  In one step, you slice
your tile by rows.  In another step, you slice your tile by columns.
Worst case, you have to do 512 slices per 256 x 256 tile.  In many
cases, you can slice several adjacent rows of pixels or several
adjacent columns of pixels together.  It ought to be quicker than
doing it pixel by pixel, 65536 pixels per tile.

If I understand correctly, you are transforming from UTM to Mercator.
I assume you do not have to deal with crossing different zones in the
UK.  In the US, the TerraServer tiles span multiple zones.  Once your
tile matches Google's Mercator projection, you ought to be able to
draw polys with the standard projection.  Has Google done anything to
fix the custom projection bug you mentioned ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to