>http://adgeomatics.com/Test4
>and cannot get the directions tab to work.
This should get you started:
var tabdata = [];
tabdata.push(address,directions);
var labels = ["Address","Directions"];
tabdata[0] = '<div style="width:176px">' + tabdata[0] +
'<\/div>';
var tabs = [];
for (var j = 0; j < tabdata.length; j++) {
tabs.push(new GInfoWindowTab(labels[j], tabdata[j]));
}
GEvent.addListener(marker, "click", function() {
myPano.setLocationAndPOV(marker.getLatLng());
marker.openInfoWindowHtml(tabs);
});
Before this code, the variables address and directions need to be defined,
directions could be the existing variable html.
Try it, if you get stuck post back with a link to the page that does not
work.
Ralph
-
www.easypagez.com/maps/map_index.html
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-api?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-api?hl=en.