Updated mapnik.Map (markdown)
parent
45631f1143
commit
0cfc35ba3b
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
Below are a list of methods and properties available in mapnik.Map.
|
Below are a list of methods and properties available in mapnik.Map.
|
||||||
|
|
||||||
* __Map.append_style__ - adds a style to the map
|
* __Map.append_style__ - adds a style to the map
|
||||||
|
@ -436,7 +435,7 @@ zoom_to_box( (Map)arg1, (Box2d)Boxd2) -> None :
|
||||||
by specifying a Mapnik Box2d.
|
by specifying a Mapnik Box2d.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
>>> extext = Box2d(-180.0, -90.0, 180.0, 90.0)
|
>>> extent = Box2d(-180.0, -90.0, 180.0, 90.0)
|
||||||
>>> m.zoom_to_box(extent)
|
>>> m.zoom_to_box(extent)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue