Hey, im trying to make a google marker with tabs, one tab with some
infomation in, and one with a streetview div in. My marker works, and
the event fires ok, but only once. Why is this? below is my marker
adding code. thanks Si
var markerthree = new GMarker(new GLatLng(52.9565953,-1.1501738));
map.addOverlay(markerthree);
GEvent.addListener(markerthree, 'click', function(latlng) {
var panoDiv = document.createElement('div');
PanoNew = document.getElementById('stviewTest');
var pano = new GStreetviewPanorama(document.getElementById
('stviewTest'));
pano.setLocationAndPOV(latlng);
markerthree.openInfoWindowTabsHtml([new GInfoWindowTab('Info',
'A'), new GInfoWindowTab('Advanced', PanoNew)]);
});
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---