On Dec 6, 12:03 pm, Vafa <[email protected]> wrote:
> Hi everybody
> I'm new in Google Maps. currently I need a change on this article for
> add a zoom level to MySQL.
> How can I get a zoom level?

Depends on how you wrote your map code.

> I think I need a listener for zoom level.
> please tell me clear and simple!
> the "map.getZoom(); " has not return the level of zoom and i got "map
> is not defined" on error console.

Is your map variable global?

> var url = "add.php?name=" + name + "&addre=<?php echo
> $_SESSION['MM_Username']; ?>&catid=" + catid +
> "&lat" + latlng.lat() + "&lng=" + latlng.lng() + "&zoom=" +
> map.getZoom();

Please post a link to your map so we can help you.

  -- Larry

>
> thanks

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