Permalink
Browse files

Fix mapfile writer to write SVG symbols (#4607)

  • Loading branch information...
1 parent aea4ed4 commit 86fc1759f16115a851ffa2c6281828966b2da9e8 @szekerest szekerest committed Mar 21, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 mapsymbol.c
View
@@ -314,10 +314,13 @@ void writeSymbol(symbolObj *s, FILE *stream)
fprintf(stream, " TYPE ELLIPSE\n");
else if(s->type == MS_SYMBOL_VECTOR)
fprintf(stream, " TYPE VECTOR\n");
+ else if(s->type == MS_SYMBOL_SVG)
+ fprintf(stream, " TYPE SVG\n");
else
fprintf(stream, " TYPE SIMPLE\n");
if(s->filled == MS_TRUE) fprintf(stream, " FILLED TRUE\n");
+ if(s->imagepath != NULL) fprintf(stream, " IMAGE \"%s\"\n", s->imagepath);
/* POINTS */
if(s->numpoints != 0) {

0 comments on commit 86fc175

Please sign in to comment.