We stretch images in JS. The image is expected to be in LatLng coordinates, and is then warped according to the current projection:
http://code.google.com/apis/maps/documentation/javascript/overlays.html#GroundOverlays
- Ben
Thanks for the reply. To solve this problem I guess my options are:
1) Implement an alternative projection type so google maps displays my
overlay in a different projection.
2) Obtain the algorithim that Google uses to stretch the map - I could
then apply the reverse algorithim to my overlay image (do this
processing off-line) which will then cancel out the Google Maps
stretching.
3) Switch off the Google Maps groundOverlay stretching (overlay image
is simply placed on top of the Google Map tiles without any
manipulation).
Please can you tell me which of the above are possible, and if there
are any alternatives.
Option 3 would be the best as all this javascript stretching must slow
down the browser.
To be honest I'm really struggling to understand why a groundOverlay
derived from Google Map tiles doesnt fit perfectly over the map in the
Google Maps.
Do you know if there is any software that can convert
google map tiles into the form expected of a groundOverlay? (The
images for my end project arn't actually derived from Google map tiles
of course but, they have exactly the same problem when used as an
overlay, and if I can fix the problem with Google Map tiles I will
have fixed it for my real images.)
--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.