/
MapServer QUERYMAP Object
MapServer QUERYMAP Object
This is compulsory if you wish to perform a Zoom to Polygon function to return an image of a particular feature otherwise MapServer does not create a map image.
QUERYMAP Object
QUERYMAP STATUS ON STYLE HILITE SIZE -1 -1 COLOR 255 255 0 END
Element | Description | Example |
---|---|---|
STATUS | Whether a layer is shown or not. The two main ones to look at here are OFF and DEFAULT. DEFAULT means it will always be drawn. OFF means that iShare will control the visibility – although Zoom layering still applies. | OFF ON DEFAULT |
STYLE | Highlight the border of the polygon Hide all other polygons | HILITE SELECTED |
COLOR | RGB settings for the border of the polygon | e.g. 255 255 0 |
SIZE | Size of the map in pixels. Defaults to the size defined in the map object |
, multiple selections available,
Related content
MapServer LAYER>CLASS>STYLE Object
MapServer LAYER>CLASS>STYLE Object
More like this
Creating your MapServer .MAP file
Creating your MapServer .MAP file
More like this
MapServer LAYER Object
MapServer LAYER Object
More like this
MapServer MAP Object
MapServer MAP Object
More like this
MapServer Map Viewer
MapServer Map Viewer
More like this
MapServer LAYER>CLASS>EXPRESSION Object
MapServer LAYER>CLASS>EXPRESSION Object
More like this