now I know how to trigger an event on  a marker
marker = new google.maps.Marker({ ,,,, });
google.maps.event.trigger(marker,"click");

I assume you should be able to pass any gmap  object to
google.maps.event.trigger
but the constructor for map.control does not return a map.control
object

  myMap.map.trafficInfo = new google.maps.TrafficLayer();
  var trafficDiv = getTrafficControlDiv(.....)
 
myMap.map.controls[google.maps.ControlPosition.TOP_RIGHT].push(trafficDiv.div);
myMap.map.controls.length has a length but how do get a ierrator on
the controls

or is there a right way to programmtically click a map control ?

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