Download "user manual"

Transcript
Image Format Options
8. Image Format Options
The plugin images is the core plugin that deals with the formatting options for the
main map. It handles the size of the image and its filetype.
8.1. Client-side Configuration
8.1.1. Main Map Options
Here are the options that can be set:
•
mapSizesActive: boolean; if true, displays a drop-down list of available mapsizes
; if false a fixed size is used (defined by the two following parameters).
•
mapWidth: mainmap width in pixels if mapSizesActive = false
•
mapHeight: mainmap height in pixels if mapSizesActive = false
•
mapSizes.#.width : (#=0,1,2...) available mainmap width in pixels for mapsize #
(when mapSizesActive = true)
•
mapSizes.#.height : (#=0,1,2...) available mainmap height in pixels for mapsize #
(when mapSizesActive = true)
•
mapSizes.#.label : (#=0,1,2...) label that describes mapsize #; appears in
drop-down list. If not specified, a <width>x<height> pattern is used as the label.
•
mapSizesDefault : integer indicates the default mapsize to be used (among the
above #). Only when mapSizesActive = true.
If no mapsize settings are found, the default mapsize is 400x200 pixels.
8.1.2. Keymap and Scalebar Options
The plugin images can also deal with few keymap and scalebar options:
•
collapsibleKeymap: if true, keymap is shown on map, and possibly hidden.
•
noDrawKeymap: if true, keymap will not be drawn at all.
•
noDrawScalebar: if true, scalebar will not be drawn.
8.2. Server-side Configuration
Here are the options that can be set:
•
maxMapWidth: maximum allowed width in pixels of the generated mainmap. If
64