[mapserver-commits] [mapserver/mapserver] a6d174: Add an offset to the scalebar
GitHub
noreply at github.com
Mon Nov 13 12:58:46 PST 2017
Branch: refs/heads/master
Home: https://github.com/mapserver/mapserver
Commit: a6d174902bff1aea11277eb7d8667470e6efe432
https://github.com/mapserver/mapserver/commit/a6d174902bff1aea11277eb7d8667470e6efe432
Author: Dan 'Ducky' Little <theduckylittle at gmail.com>
Date: 2017-10-10 (Tue, 10 Oct 2017)
Changed paths:
M mapfile.c
M mapscale.c
M mapserver.h
A msautotest/renderers/embed_sb_rgba_offset.map
A msautotest/renderers/expected/embed_sb_rgba_offset.cairo.png
A msautotest/renderers/expected/embed_sb_rgba_offset.png
Log Message:
-----------
Add an offset to the scalebar
The scalebar is "stuck" to the edges of the map. This can make the
scalebar difficult to read when it is embedded in some mapping applications.
This PR adds the "OFFSET" key word to the scalebar object. The OFFSET X and Y
moves the scalebar away from the map a set number of pixels.
Commit: 27b66bc1d4618da1c8402e9f8543fc324a79f08f
https://github.com/mapserver/mapserver/commit/27b66bc1d4618da1c8402e9f8543fc324a79f08f
Author: Dan 'Ducky' Little <theduckylittle at gmail.com>
Date: 2017-10-11 (Wed, 11 Oct 2017)
Changed paths:
M msautotest/renderers/expected/embed_sb_rgba_offset.cairo.png
Log Message:
-----------
Updated cairo test png for offset scalebar
Instead of using local cairo (1.14.6 from xenial) used the
vagrant version (1.10.2 from precise).
Commit: 67f4dbb60be32ea705f052d4b735208542c4cc22
https://github.com/mapserver/mapserver/commit/67f4dbb60be32ea705f052d4b735208542c4cc22
Author: Jeff McKenna <jeffmckenna at gmail.com>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Changed paths:
M mapfile.c
M mapscale.c
M mapserver.h
A msautotest/renderers/embed_sb_rgba_offset.map
A msautotest/renderers/expected/embed_sb_rgba_offset.cairo.png
A msautotest/renderers/expected/embed_sb_rgba_offset.png
Log Message:
-----------
Merge pull request #5489 from theduckylittle/feature/offset-scalebar-position
Add an offset to the scalebar
Compare: https://github.com/mapserver/mapserver/compare/f776436e2955...67f4dbb60be3
More information about the mapserver-commits
mailing list