overlay.projection should be overlay.getProjection() The examples are wrong as well.
Chad Killingsworth On May 12, 6:17 am, redmeat <[email protected]> wrote: > Yesterday my html file behaved correctly, this morning it doesn't. I > noticed the same is true of an online example (http://www.william- > map.com/20100416/1/map.htm) which is very similar to my own. If the > aforementioned link is opened in Firefox, and then open the Error > console (Tools > Error Console) and click the "All" tab. > > The example prints various coordinates such as pixel coordinates when > the map is clicked. However, as of today no information is printed > (normally appears just below the map). the error displayed in the > firefox error console is > > Error: overlay.projection is undefined > Source File:http://www.william-map.com/20100416/1/map.htm > Line: 44 > > This is the same error I receive in my application which also uses an > overlay to use the function fromLatLngToDivPixel. As I say, both my > example and the online example linked above worked yesterday, and now > they both suffer from the same error. > > I looked at the changelog and can't see any changes more recent than > the 7th May 2010. > > -- > 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 > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- 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.
