Skip to content

Commit

Permalink
add help for map_extent_center, map_extent_width and map_extent_height (
Browse files Browse the repository at this point in the history
fixes #14259, followup e7b9a31)
  • Loading branch information
jef-n committed Feb 25, 2016
1 parent 9f7c329 commit d6c8a1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4553,6 +4553,9 @@ void QgsExpression::initVariableHelp()
gVariableHelpTexts.insert( "map_id", QCoreApplication::translate( "variable_help", "ID of current map destination. This will be 'canvas' for canvas renders, and the item ID for composer map renders." ) );
gVariableHelpTexts.insert( "map_rotation", QCoreApplication::translate( "variable_help", "Current rotation of map." ) );
gVariableHelpTexts.insert( "map_scale", QCoreApplication::translate( "variable_help", "Current scale of map." ) );
gVariableHelpTexts.insert( "map_extent_center", QCoreApplication::translate( "variable_help", "Center of of map." ) );
gVariableHelpTexts.insert( "map_extent_width", QCoreApplication::translate( "variable_help", "Width of of map." ) );
gVariableHelpTexts.insert( "map_extent_height", QCoreApplication::translate( "variable_help", "Height of of map." ) );

gVariableHelpTexts.insert( "row_number", QCoreApplication::translate( "variable_help", "Stores the number of the current row." ) );
gVariableHelpTexts.insert( "grid_number", QCoreApplication::translate( "variable_help", "Current grid annotation value." ) );
Expand Down

0 comments on commit d6c8a1a

Please sign in to comment.