You might take a look at the Euclidean projection referenced in this thread: http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/50421ba5c4dd307b/
Chad Killingsworth On Dec 2, 3:39 am, Matt Roberts <[email protected]> wrote: > Hi, > > I'm using google map tiler to generate tiles that I want to display in > the google maps API, as a base layer (so they replace the google maps > tiles completely). > > I have a working page based off v2 off the google maps API, which is > taken from this example:http://examples.maptiler.org/flat/googlemaps.html > > In this example, a "flat projection" is implemented, and I'm trying to > work out what projection I need in v3. I need to create various > markers on the map, so obviously these need to be plotted in lat lngs. > Is it enough to simply map latlongs to points and viceversa, like > this: > > FlatProjection.prototype.fromLatLngToPoint = function(latlng) > { > return new google.maps.Point(latlng.lng(),latlng.lat()); > > } > > FlatProjection.prototype.fromPointToLatLng = function(point) > { > return new google.maps.LatLng(point.y,point.x, true); > > } > > Any advice welcome! -- 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.
