.. index::
   single: QUERYMAP

.. _querymap:

*****************************************************************************
 QUERYMAP
*****************************************************************************

.. index::
   pair: QUERYMAP; COLOR

COLOR [r] [g] [b] | [hexadecimal string]
    Color in which features are highlighted. Default is yellow.
    
    - `r`, `g` and `b` shall be integers [0..255].  To specify green,
      the following is used:

        .. code-block:: mapfile

           COLOR 0 255 0

    - `hexadecimal string` can be

      - RGB value: "#rrggbb".  To specify magenta, the following is
        used:

        .. code-block:: mapfile

           COLOR "#FF00FF"

      - RGBA value (adding translucence): "#rrggbbaa".  To specify a
        semi-translucent magenta, the following is used:

        .. code-block:: mapfile

           COLOR "#FF00FFCC"       

.. index::
   pair: QUERYMAP; SIZE

SIZE [x][y]
    Size of the map in pixels. Defaults to the size defined in the map object.

.. index::
   pair: QUERYMAP; STATUS

STATUS [on|off]
    Is the query map to be drawn?
    
.. index::
   pair: QUERYMAP; STYLE

STYLE [normal|hilite|selected]
    Sets how selected features are to be handled. Layers not queried are 
    drawn as usual.

    *  Normal: Draws all features according to the settings for that layer.
    *  Hilite: Draws selected features using COLOR. Non-selected features are 
       drawn normally.
    *  Selected: draws only the selected features normally.
