Hi,
The V2 Map is working fine with fancybox, but not V3.
The map is not rendered 100%, but after some interactions it is
working fine.

In fancbox, I am using the inline method and loading the Html part.

var directionDisplay;
var directionsService = new google.maps.DirectionsService();

function intilazeMap(lattitude,longitude)
{
       var latlng = new google.maps.LatLng(lattitude, longitude);
       var myOptions = {
               zoom: 16,
               scrollwheel: false,
               center: latlng,
               disableDefaultUI: true,
               navigationControl: true,
               mapTypeId: google.maps.MapTypeId.ROADMAP
       };

       var mapDir = new
google.maps.Map(document.getElementById("map_canvas_direction"),
myOptions);
}

I googled and found that it worked ( I dint try it ) in iFrame method
of fancybox.

Please help.

Regards,
~Cyril

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