Hi!:)
I've got a problem using polylines with my google map. You know, I
want to make something like this:
I want to make a clickable polyline, but not opening info window, I
need to open some link with a polyline click. Is it possible? Now I'm
using this function:
function setPolyLineOptions1(hyper,category,pts,colour,width)
{
var polyline = new GPolyline(pts,colour,width);
polyline.mycategory = category;
GEvent.addListener(polyline, "click", function(latlng)
{ map.openInfoWindowHtml(latlng, hyper); });
gpolylines.push(polyline);
return polyline;
}
I get "hyper" from an xml file. And it's a link. I don't want to use
any info window, I need to open a link ( i've got it in "hyper" )
after i click the polyline. Can you help me?:)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---