Opened 13 years ago
Last modified 13 years ago
#4184 new defect
SVG symbols anchor point problem
| Reported by: | debe | Owned by: | assefa |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Output-SVG | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | |
| Cc: | zjames, tbonfort |
Description
rendering a map with the CAIRO/SVG driver, all the SVG symbols defined as
SYMBOL NAME "example" TYPE SVG IMAGE "example.svg" END
in the map will be anchored to the top-left angle.
All others drivers (CAIRO/PNG,AGG/PNG,...) they render the symbols in the center.
The ANCHORPOINT configuration in the SYMBOL seems to work but to correcly anchor the symbol in the center, the anchorpoint need to be 1 1, and with the other drivers will be rendered at the right-bottom corner.
In other words seems that the driver CAIRO/SVG render the symbols translated by 0.5
Change History (2)
comment:1 by , 13 years ago
| Cc: | added |
|---|---|
| Component: | MapScript-PHP → Output-SVG |
| Owner: | changed from to |
comment:2 by , 13 years ago
| Cc: | added |
|---|
Note:
See TracTickets
for help on using tickets.
