position shield symbolizer symbols centered (ie. with text), rather than top-left in cairo output. re #737 - thanks @jburgess for testing and @Ldp for the patch.
This commit is contained in:
parent
c93984f06f
commit
8ace5b7e6b
1 changed files with 1 additions and 1 deletions
|
@ -1255,7 +1255,7 @@ void cairo_renderer_base::process(shield_symbolizer const& sym,
|
|||
int px=int(floor(lx - (0.5*w)));
|
||||
int py=int(floor(ly - (0.5*h)));
|
||||
|
||||
render_marker(x,y,**marker, tr, sym.get_opacity());
|
||||
render_marker(px,py,**marker, tr, sym.get_opacity());
|
||||
|
||||
context.add_text(text_placement.placements[ii],
|
||||
face_manager_,
|
||||
|
|
Loading…
Add table
Reference in a new issue