fix cairo_test.py [skip ci]
This commit is contained in:
parent
dfddd53c84
commit
f2673c6432
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def make_tmp_map():
|
||||||
context.push('Name')
|
context.push('Name')
|
||||||
f = mapnik.Feature(context,1)
|
f = mapnik.Feature(context,1)
|
||||||
f['Name'] = 'Hello'
|
f['Name'] = 'Hello'
|
||||||
f.add_geometries_from_wkt('POINT (0 0)')
|
f.geometry = mapnik.Geometry.from_wkt('POINT (0 0)')
|
||||||
ds.add_feature(f)
|
ds.add_feature(f)
|
||||||
s = mapnik.Style()
|
s = mapnik.Style()
|
||||||
r = mapnik.Rule()
|
r = mapnik.Rule()
|
||||||
|
|
Loading…
Reference in a new issue