Skip to content

Commit

Permalink
fix ANCHORPOINT not written on map->save (#5073)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Feb 18, 2015
1 parent cba7ccf commit a5ce205
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapsymbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ void writeSymbol(symbolObj *s, FILE *stream)

if(s->filled == MS_TRUE) msIO_fprintf(stream, " FILLED TRUE\n");
if(s->imagepath != NULL) msIO_fprintf(stream, " IMAGE \"%s\"\n", s->imagepath);
if(s->anchorpoint_y!=0.5 || s->anchorpoint_x!=0.5) {
msIO_fprintf(stream, " ANCHORPOINT %g %g\n", s->anchorpoint_x, s->anchorpoint_y);
}

/* POINTS */
if(s->numpoints != 0) {
Expand Down

0 comments on commit a5ce205

Please sign in to comment.