I have polylines on my map and markers which should sit on the polylines.
The problem is the markers are shifted top left and they look like they are in some distance from polylines while they should be on top of them.
Anybody has an idea how to fix it? Thank you

OK
I found an answer in case anybody needs it.
I just used MarkerImage like that:
where new google.maps.Point(7, 7) takes offset number in pixels.
Initial position 0,0 falls in the center bottom of the marker so I offset the image by half of it’s width and height.
Works perfectly now.