Permalink
Browse files

Don't apply scalefactor on legend keyimage (#4885)

  • Loading branch information...
1 parent 55a5688 commit 7b861585744c01fabdf374d60a39b2e42f7af5f1 @tbonfort tbonfort committed Mar 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 maplegend.c
View
@@ -220,7 +220,7 @@ int msDrawLegendIcon(mapObj *map, layerObj *lp, classObj *theclass,
imgStyle.maxsize = imgStyle.size;
imgStyle.symbol = symbolNum;
- msDrawMarkerSymbol(&map->symbolset,image_draw,&marker,&imgStyle,lp->scalefactor * image_draw->resolutionfactor);
+ msDrawMarkerSymbol(&map->symbolset,image_draw,&marker,&imgStyle,1.0);
/* TO DO: we may want to handle this differently depending on the relative size of the keyimage */
} else {
for(i=0; i<theclass->numstyles; i++) {

0 comments on commit 7b86158

Please sign in to comment.