Reputation: 177
From the image, the Polylines are touching the center bottom of the Markers. I need the Polylines to touch the center of the Marker.
Upvotes: 1
Views: 240
Reputation: 1475
You have to set the anchor
of your marker by calling
marker.setAnchor()
The position at which to anchor an image in correspondence to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image.
Upvotes: 3