Download "user manual"

Transcript
New Plugins
request and set new ones. It implements two main methods:
•
getValue($key): retrieves old value
•
setValue($key, $value): sets new value
2.4.2.2. Available Parameters
This is the list of parameters that can be set in a filter plugin using function
setValue():
•
Images plugin
o
•
Location plugin
o
recenter_bbox - new bounding box, comma-separated
coordinates, eg. "10.5,20,15.5,28"
o
recenter_x - re-centering: new x-coordinate
o
recenter_y - re-centering: new y-coordinate
o
recenter_scale - new scale
o
o
o
•
mapsize - ID of the selected map size (see Section 8.1,
“Client-side Configuration”)
id_recenter_layer - re-centering on objects: layer to look for
IDs
id_recenter_ids - re-centering on objects: list of IDs,
comma-separated
shortcut_id - ID of the selected map size (see Section 7.2,
“Server-side Configuration”)
Query plugin
o
query_layer - layer to look for IDs
o
query_select - IDs of objects to add to selection
o
query_unselect - IDs of objects to remove from selection
o
o
o
o
query_policy - selection policy: 'POLICY_XOR',
'POLICY_UNION' or 'POLICY_INTERSECTION', default is
'POLICY_XOR'
query_maskmode - '0' or '1', default is '0'. If '1', will show
selection as a mask
query_hilight - '0' or '1', default is '1'. If '0', won't shows
selection hilighted
query_return_attributes - '0' or '1', default is '1'. If '0',
143