google maps popup onclick redirecting to another webpage
hi,
i want to implement the google maps in my webpage, but i struck with
one problem.i want to implement the google popup bloch
clickble,i.e.the control in the below fuction. the xml file having the
following fileds: marker lat="43.65654" lng="-79.90138"
html="university" label="university" control="http://www.google.com/"
in my google map webpage:
function createMarker(point,name,html,control) { var marker = new
GMarker(point);
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(html +" "+control);
});
gmarkers.push(marker);
side_bar_html += '<a href="javascript:myclick(' +
(gmarkers.length-1) + ')">' + name + '<\/a><br>';
return marker;
}
in the webpage, when i click on university the popup block will apper
in the screen.in thast popup block, i am given the url.. how to make
the url is clickable and it is redirect to the another function...
pls help me...
Regrads, Murali
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home