Skip to content

Commit 370a81c

Browse files
committed
Fix position of rendered offsetted labelpnt marker (#5326)
1 parent cd70b0f commit 370a81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapdraw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2511,7 +2511,7 @@ int msDrawOffsettedLabels(imageObj *image, mapObj *map, int priority)
25112511
/* here's where we draw the label styles */
25122512
for(i=0; i<ts->label->numstyles; i++) {
25132513
if(ts->label->styles[i]->_geomtransform.type == MS_GEOMTRANSFORM_LABELPOINT) {
2514-
retval = msDrawMarkerSymbol(map, image, &(cachePtr->point), ts->label->styles[i], layerPtr->scalefactor);
2514+
retval = msDrawMarkerSymbol(map, image, &(labelLeader.line->point[1]), ts->label->styles[i], layerPtr->scalefactor);
25152515
if(UNLIKELY(retval == MS_FAILURE)) {
25162516
goto offset_cleanup;
25172517
}

0 commit comments

Comments
 (0)