Skip to content

Commit

Permalink
fix region map base filename
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Apr 4, 2020
1 parent f16ab77 commit c026570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ void render_map_coords(std::ostream & s, const df::coord2d_path & coords, int32_

s << "<svg width=\"100\" height=\"100\" class=\"map\" viewBox=\"" << x0 << " " << y0 << " " << (x1 - x0) << " " << (y1 - y0) << "\">";
s << "<foreignObject x=\"0\" y=\"0\" width=\"" << w << "\" height=\"" << h << "\" transform=\"scale(" << mul << ")\">";
s << "<img src=\"region.svg\" width=\"" << w << "\" height=\"" << h << "\"/>";
s << "<img src=\"region.png\" width=\"" << w << "\" height=\"" << h << "\"/>";
s << "</foreignObject>";
render_coord_path(s, "outline", coords);
s << "</svg>";
Expand Down

0 comments on commit c026570

Please sign in to comment.