Skip to content

Commit

Permalink
Update TRANSPARENT keywords (#860)
Browse files Browse the repository at this point in the history
* Update TRANSPARENT keywords

* Typo fix

* Update text

* Fix ref
  • Loading branch information
geographika authored Oct 23, 2023
1 parent 4227d4c commit 8991283
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions en/mapfile/legend.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ TEMPLATE [filename]
:name: mapfile-legend-transparent

TRANSPARENT [on|off]
.. deprecated:: 4.6

Should the background color for the legend be transparent.
This flag is now deprecated in favor of declaring transparency within
:ref:`OUTPUTFORMAT` declarations. Default is off.
By default, a legend will inherit the same transparency setting as the
map :ref:`OUTPUTFORMAT`. However, this flag can be used to override this setting,
allowing, for example, a transparent legend to be embedded in a non-transparent map.
9 changes: 4 additions & 5 deletions en/mapfile/scalebar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,11 @@ STYLE [integer]
Chooses the scalebar style. Valid styles are 0 and 1.

TRANSPARENT [on|off]
.. versionremoved:: 8.0

Should the background color for the scalebar be transparent. This flag is
now deprecated in favor of declaring transparency within :ref:`OUTPUTFORMAT`
declarations. Default is off.
By default, a scalebar will inherit the same transparency setting as the
map :ref:`OUTPUTFORMAT`. However, this flag can be used to override this setting,
allowing, for example, a transparent scalebar to be embedded in a non-transparent map.

.. index::
pair: SCALEBAR; UNITS
:name: mapfile-scalebar-units
Expand Down

0 comments on commit 8991283

Please sign in to comment.