> Rossko i wanna add custom icom on polyline but when i try to do it it wouls
> cretes icon aside by polyline not exactly on polyline  
> what is the reason behind it ?

The marker gets put where you tell it to go.

>  how would i create icon exactly on polyline

We do not know where you expect it to go, it can only go at one place
on the polyline - at one end, at the other end, in the middle?
We cannot see how you are working out where to put it. perhaps your
calculations are wrong.

Can't see you assigning any anchor in your custom icon code, so the
default anchor is at bottom-middle of the icon.  The anchor is the
part of the icon that gets placed over the lat/long you give.

Here are the posting guidelines
http://groups.google.com/group/google-maps-api/t/39c2fd0cf99e14b2
A link to the map you are having problems with saves a lot of
guessing.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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