On Aug 26, 7:33 pm, Jason <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Now I want a road to be a Gpolyline, then when a person click on the road, I
> will pop up a infowindow to show some information, could I draw a polyline
> whose weight just fit the road weight, is there any API could let the
> polyline fit a road? Thanks!

That is not part of the Google Maps API...


>
> 2008/8/26 Esa <[EMAIL PROTECTED]>
>
>
>
>
>
> > On 26 elo, 05:33, "郑杰生" <[EMAIL PROTECTED]> wrote:
> > > Thank Rossko!
>
> > > I use the click event(in the API) on the GPolyline to do it, and it works
> > > ok, but it seems you must click very close to the polyline,
>
> > You can widen the click range by creating an invisible copy of your
> > polyline but thicker (higher weight) and using 'click' events of that
> > wider polyline.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to