It also looks like that your map variable isn't globally defined. When you define it like
map = new google.maps.Map(...) without declaring it globally you can expect problems in certain browsers. On the other hand when the browser 'sees' this map variable all loaded scripts will be parsed to find a variable by that name. This may take a while. So it's also a question of efficiency. On Mar 10, 11:01 am, Nick <[email protected]> wrote: > Hi everyone > > So I've tried extracting info from a URL and then passing that to > various functions such as setZoom, setCenter and so on. > > In the example given it's just zoom I'm trying to set. But I get > 'invalid value for property zoom'. > > http://mercator.webs.com/index%20copy.html?z=5&lat=54.942589833&lng=-... > > I think, although I don't know, that it's expecting a number — but > finding a string. The functions decoding the URL can be found at lines > 493 and 506. > > All the best, > > Nick -- 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.
