Overview
The classObj has the following relationships:
Examples
Class creation:
lyr = mapscript.layerObj()
lyr.name = "foo"
c = mapscript.classObj(lyr)
assert c.thisown == 1
assert c.layer.name == lyr.name
assert c.numstyles == 0
|
Home |
Products |
Issue Tracker |
Service Providers |
FAQ |
Mastodon |
Download |
|
|
|
Overview
The classObj has the following relationships:
Examples
Class creation:
lyr = mapscript.layerObj()
lyr.name = "foo"
c = mapscript.classObj(lyr)
assert c.thisown == 1
assert c.layer.name == lyr.name
assert c.numstyles == 0