Skip to content

Commit

Permalink
Fix position of rendered offsetted labelpnt marker (#5326)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 20, 2016
1 parent cd70b0f commit 370a81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapdraw.c
Expand Up @@ -2511,7 +2511,7 @@ int msDrawOffsettedLabels(imageObj *image, mapObj *map, int priority)
/* here's where we draw the label styles */
for(i=0; i<ts->label->numstyles; i++) {
if(ts->label->styles[i]->_geomtransform.type == MS_GEOMTRANSFORM_LABELPOINT) {
retval = msDrawMarkerSymbol(map, image, &(cachePtr->point), ts->label->styles[i], layerPtr->scalefactor);
retval = msDrawMarkerSymbol(map, image, &(labelLeader.line->point[1]), ts->label->styles[i], layerPtr->scalefactor);
if(UNLIKELY(retval == MS_FAILURE)) {
goto offset_cleanup;
}
Expand Down

0 comments on commit 370a81c

Please sign in to comment.