mapscript.queryMapObj

class mapscript.queryMapObj

The QUERYMAP object. Instances of querymapObj are always are always embedded inside the mapObj.

Attributes

color

colorObj See COLOR

height

int See SIZE

status

int See STATUS

style

int HILITE, SELECTED or NORMAL - see STYLE

thisown

The membership flag

width

int See SIZE

Methods

__init__()[source]
convertToString() char[source]

Saves the object to a string. Provides the inverse option for queryMapObj.updateFromString().

updateFromString(snippet: char) int[source]

Update a querymap from a string snippet. Returns MS_SUCCESS or MS_FAILURE