views:

12

answers:

0

I have the following code to display the info window on the google map when marker is clicked how can i add tabs to the infowindows which is using extinfowindows ,can anyone help to trace out the problem.

function createMarker(point, name, address, imagepath) {
    var marker = new GMarker(point, gicons[imagepath]);
    var html1 = '<span class="name-tab"><b>' + name + '</b></span> <span class="info"><br/>' + address + '</span>';

    GEvent.addListener(marker, 'click', function () {
        marker.openExtInfoWindow(
        map, "simple_example_window", html1, {
            beakOffset: -4
        });
    });
}