On Nov 28, 1:04 pm, kosh2 <[email protected]> wrote:
> The following code falls down at the map.getzoom line.
>
> function saveData() {
> var title = escape(document.getElementById("name").value);
> var descrip = document.getElementById("descrip").value;
> var latlng = marker.getPosition();
> var sc = RadioHandler.getCheckedValue('privacy');
> var rad = map.getzoom();

Last I checked, javascript is case sensitive.  getzoom is not the same
as getZoom, which last I checked the documentation was the documented
function.
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map

  -- Larry

> var url = "/includes/setnewgroup.php?title=" + title +
> "&descrip=" + descrip + "&lat=" + latlng.lat() + "&lng=" + latlng.lng()
> +
> "&sc=" + sc + "&zoom=" + rad;
>
> map is a global variable and the map is set up in the initialise
> function earlier.

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