Thanks!!! Yeah that toggle button does not work in IE8 or Mozilla either. However, on the Ipod/Iphone it works, and when I toggle the overlay off, it then allows the user to shift the map around, then they can toggle the overlay back on and see the overlay from a different center position. I have no idea why this is working this way, so I am just using it as a temporary fix until I figure something better out. Do you have any idea why it would be working this way? It is just so weird that there is absolutely no consistency between browsers. I don't really know how to fix this.
PS, when I am finished with the backend code for the site I'm not going to be using deprecated tags, such as the center tag anymore! The whole face of the site is going to be re-vamped by people with graphics skill because stylistically I am of no use. With that said thanks for the tip, I should be using the validator, I've just been a little lazy ;-) On Dec 18, 10:36 am, Esa <[email protected]> wrote: > Thanks lea for the report. > > I will try to fix the page for IE8. > > I don't find any errors in your script. The toggle button does not > work with Chrome but I think it is the error thrown by the line > > navigator.geolocation.getCurrentPosition(showMap); > > The syntax for Chrome is slightly different. > > You have a broken <center tag and some minor html errors. It is a good > practice to validate html first before testing with different > browsers. > > http://validator.w3.org/ -- 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.
