OK. I built a little mini app with some iPhone specifics and it works
fine. Not sure why the test that Chris B put up on the sandbox did not
work for me.  I will amend my issue to say its resolved.

This was my mini app

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" id="iphone-viewport" content="minimum-
scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no" />
                <style type="text/css">
                  html { height: 100% }
                  body { height: 100%; margin: 0px; padding: 0px }
                  #map_canvas { height: 360px;width: 320px }
                </style>
                <script type="text/javascript" 
src="http://maps.google.com/maps/api/
js?sensor=true"></script>

<script type="text/javascript" charset="utf-8">

        function initialize() {
    var myLatlng = new google.maps.LatLng(-34.397, 150.644);
          var myOptions = {
        zoom: 8,
      center: myLatlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
        }
                var map = new 
google.maps.Map(document.getElementById("map_canvas"),
myOptions);
                google.maps.event.addListener(map, 'click', mapClick);
  }

                window.onload =initialize;

                function mapClick () {
                        alert("clicked")
                }

</script>
</head>
<body>
        <div id="map_canvas"></div>
</body>
</html>

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