mapscript.referenceMapObj¶
- class mapscript.referenceMapObj¶
The REFERENCE object
Overview
The referenceMapObj has the following relationships:
Attributes
colorextentrectObjSpatial extent of reference in units of parent map - see EXTENTheightint Height of reference map in pixels - see SIZE
imagechar Filename of reference map image - see IMAGE
mapmarkerint Index of a symbol in the map symbol set to use for marker - see MARKER
markernamechar Name of a symbol - see MARKER
markersizeint Size of marker - see MARKERSIZE
maxboxsizeint In pixels - see MAXBOXSIZE
minboxsizeint In pixels - see MINBOXSIZE
outlinecolorcolorObjOutline color of reference box - see OUTLINECOLORstatusthisownThe membership flag
widthint Width of reference map in pixels - see SIZE
Methods
- __init__()[broncode]¶
- convertToString() char[broncode]¶
Saves the object to a string. Provides the inverse option for
referenceMapObj.updateFromString().
- updateFromString(snippet: char) int[broncode]¶
Update a reference map from a string snippet. Returns
MS_SUCCESSorMS_FAILURE
