Permalink
Browse files

Fix drawmode of rectObj->draw method in PHP/MapScript

  • Loading branch information...
1 parent 72db35e commit 981930cab21fb34995a3be4731b50dbe53560129 Alan Boudreault committed Jan 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapscript/php/mapscript_i.c
@@ -1479,7 +1479,7 @@ int rectObj_draw(rectObj *self, mapObj *map, layerObj *layer,
shape.classindex = classindex;
shape.text = strdup(text);
- msDrawShape(map, layer, &shape, img, -1, MS_FALSE);
+ msDrawShape(map, layer, &shape, img, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
msFreeShape(&shape);

0 comments on commit 981930c

Please sign in to comment.