mapscript.webObj¶
- class mapscript.webObj¶
- The WEB object. Has no other existence than as an attribute of a - mapObj. Serves as a container for various run-time web application definitions like temporary file paths, template paths, etc.- Attributes - browseformat- char See BROWSEFORMAT - empty- char See EMPTY - error- char Error handling - see ERROR - footer- char Path to footer document - see FOOTER - header- char Path to header document - see HEADER - imagepath- char Filesystem path to temporary image location - see IMAGEPATH - imageurl- char URL to temporary image location - see IMAGEURL - legendformat- char See LEGENDFORMAT - map- maxscaledenom- double Minimum map scale - see MAXSCALEDENOM - maxtemplate- char See MAXTEMPLATE - metadata- hashTableObjimmutable Metadata hash table - see METADATA- minscaledenom- double Maximum map scale - see MINSCALEDENOM - mintemplate- char See MINTEMPLATE - queryformat- char See QUERYFORMAT /* what format is the query to be returned, given as a MIME type - template- char Path to template document - see TEMPLATE - temppath- char See TEMPPATH - thisown- The membership flag - validation- hashTableObjimmutable See VALIDATION- Methods - __init__()[исходный код]¶
- Instances of - webObjare always are always embedded inside the- mapObj. Has no other existence than as an attribute of a- mapObj. Serves as a container for various run-time web application definitions like temporary file paths, template paths, etc.
 - convertToString() char[исходный код]¶
- Output the WEB object as a Mapfile string. Provides the inverse option for - webObj.updateFromString().
 - updateFromString(snippet: char) int[исходный код]¶
- Update a - webObjfrom a string snippet. Returns- MS_SUCCESSor- MS_FAILURE
 












 
        
          
            
