Just note that this will only work for you if that image you are trying to draw on top is using the same projection as google maps does. Ie Mercator projection with WGS84 ellipsoid.
See if you can get a google map to look the same as your image otherwise you might be wasting your time trying to use this just to transform lat/longs to screen coordinates. Projection transformations can get VERY complex. Regards, Michael On Oct 17, 9:45 pm, Darek <[email protected]> wrote: > Yes, it does. > The Map class provides a getProjection() method, which itself gives > you the possibility to call fromLatLngToPixel(latLng:LatLng, > zoom:Number) and fromPixelToLatLng(pixel:Point, zoom:Number, > opt_nowrap?:Boolean). (http://code.google.com/intl/com-COM/apis/maps/ > documentation/flash/reference.html#IProjection) > > As far as I know you are not allowed to use the maps API without > showing the Google map, but concult the API Terms for further > details:http://code.google.com/intl/com-COM/apis/maps/terms.html > > Regards, Darek -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-api-for-flash?hl=en.
