Skip to content
Permalink
Browse files

add help for map_extent_center, map_extent_width and map_extent_height (

fixes #14259, followup e7b9a31)
  • Loading branch information
jef-n committed Feb 25, 2016
1 parent 9f7c329 commit d6c8a1a5baf30b15f65844ff5b7afc8515ed60eb
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsexpression.cpp
@@ -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." ) );

0 comments on commit d6c8a1a

Please sign in to comment.
You can’t perform that action at this time.