On May 26, 7:00 pm, Miguel Angel Vilela <[email protected]> wrote:
> I just tried that, you need to parse the zoom value to an integer:
>
>  zom= parseInt(document.getElementById("zm").value);
>
> The following works, but if you remove the parseInt call the map doesn't
> even load:

Thats absolutely correct if your element 'zoom' is an input field or a
textarea. Then the value of the element would be a string.
But zoom expects a number between 0 and 19 or 20.

-- 
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.

Reply via email to