Permalink
Browse files

fix ANCHORPOINT not written on map->save (#5073)

  • Loading branch information...
tbonfort committed Feb 18, 2015
1 parent cba7ccf commit a5ce205492e019873a25fd51630e6dc851dec133
Showing with 3 additions and 0 deletions.
  1. +3 −0 mapsymbol.c
View
@@ -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) {

0 comments on commit a5ce205

Please sign in to comment.