Add docstrings.
This commit is contained in:
parent
24fb874c7d
commit
3d4fbf03d2
1 changed files with 13 additions and 2 deletions
|
@ -350,10 +350,21 @@ void export_map()
|
|||
">>> m.zoom_to_box(extent)\n"
|
||||
)
|
||||
.def("get_metawriter_property", &Map::get_metawriter_property,
|
||||
"TODO (Herm)"
|
||||
"Reads a metawriter property.\n"
|
||||
"These properties are completely userdefined and can be used for"
|
||||
"creating filenames, etc."
|
||||
)
|
||||
.def("set_metawriter_property", &Map::set_metawriter_property,
|
||||
"TODO (Herm)"
|
||||
"Sets a metawriter property.\n"
|
||||
"These properties are completely userdefined and can be used for"
|
||||
"creating filenames, etc.\n"
|
||||
"\n"
|
||||
"Usage:\n"
|
||||
">>> map.set_metawriter_property(\"x\", str(x))\n"
|
||||
">>> map.set_metawriter_property(\"y\", str(y))\n"
|
||||
">>> map.set_metawriter_property(\"z\", str(z))\n"
|
||||
"\n"
|
||||
"Use a path like \"[z]/[x]/[y].json\" to create filenames.\n"
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue