Hi,

With mapnik, I was drawing on cairo surface with such a code :
  import cairo, math
  surface = cairo.ImageSurface (cairo.FORMAT_ARGB32, imgx, imgy)
  ctx = cairo.Context(surface)
  mapnik.render(m, ctx)
And then, I was able to add stuff to my surface.

But with mapnik2, the method render() has changed, and want an Image.
But then, I can't find a way to get a cairo context for drawing my other stuff.

How can I draw my map on a cairo surface with mapnik2?

Thanks

-- 
Nicolas Dumoulin
http://wiki.openstreetmap.org/wiki/User:NicolasDumoulin
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to