The anchor point is the point in a marker image that indicates the exact coordinates of a location on the map. Usually, it’s the middle of the bottom edge of the marker image. Depending of the shape of the marker, you may not want the middle of the bottom edge to be used as the anchor point. In this situation, you need to specify the anchor point of the image. A point is defined with an X and Y value (in pixels). So if X is set to 10, that means the anchor point is 10 pixels to the right of the top left corner of the image. Setting Y to 10 means that the anchor is 10 pixels down from the top right corner of the image.
The plugin provide three options to define the anchor point:
- Auto detect: This option will use the center point of the image as the anchor point.
- Manual: This option requires you to manualy define the X,Y points to use as the anchor point.
- Disable: This option will use the middle of the bottom edge of the image as the anchor point.
To set the marker anchor point, do the following:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Marker settings”.
- Choose one of the available options in the field “Set the anchor point”.
- If you choose the option “Manual”, you must define the X,Y points in the field “Marker anchor point”.