Many thanks to both of you. On Mar 10, 11:56 am, Rossko <ros...@culzean.clara.co.uk> wrote: > > I think, although I don't know, that it's expecting a number > > You can find out in the reference > docshttp://code.google.com/apis/maps/documentation/javascript/reference.h... > > > — but finding a string. > > Standard javascript conversion functions are > availablehttp://www.w3schools.com/jsref/jsref_parseInt.asphttp://www.w3schools.com/jsref/jsref_parsefloat.asp > > But I also note your map is created while 'DecodeZoom' is still > undefined and you start adding layers, before you get the zoom value > from the url.
-- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.