Skip to content

Commit

Permalink
also set geomtransform message in leader labels
Browse files Browse the repository at this point in the history
see also #4266
  • Loading branch information
tbonfort committed Apr 6, 2012
1 parent e7cc221 commit 999dfea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapdraw.c
Expand Up @@ -2525,7 +2525,7 @@ int msDrawOffsettedLabels(imageObj *image, mapObj *map, int priority) {
else if(labelPtr->styles[i]->_geomtransform.type == MS_GEOMTRANSFORM_LABELPOLY) {
msDrawShadeSymbol(&map->symbolset, image, labelPtr->annopoly, labelPtr->styles[i], layerPtr->scalefactor);
} else {
/* TODO: need error msg about unsupported geomtransform */
msSetError(MS_MISCERR,"Labels only support LABELPNT and LABELPOLY GEOMTRANSFORMS", "msDrawOffsettedLabels()");
return MS_FAILURE;
}
}
Expand Down

0 comments on commit 999dfea

Please sign in to comment.