artemp/mapnik — Issue #894: ShieldSymbolizer shouldn't shift icon when text is non-centered
Author: artemp
Created: 2011-10-11 16:41:28+00:00
State: open
Labels: Core_Library

We're using ShieldSymbolizer to draw icons and labels for cities. That allows us to have no "orphaned" labels or icons.

Lately was added a support for all the text properties of TextSymbolizer for ShieldSymbolizer.

If you set alignment of text to "left" or "right", it also shifts the icon, and icon is shifted to reside on the center of text, not attached to certain geographical position. That makes the map wrong, and makes funny effects on map zooming, when alignment of labels changes.