On Jul 9, 2010, at 3:57 AM, feverzsj wrote: > > hi, list: > Is it possible for mapnik to directly render the map to a Qt or win32 > program's drawing surface?
Yes, you can render to a mapnik.Image, then push that into a QImage. Here is a C++ example: http://trac.mapnik.org/browser/trunk/demo/viewer/mapwidget.cpp#L467 And a python example: http://bitbucket.org/springmeyer/quantumnik/src/tip/quantumnik.py#cl-592 > The platform is windows. > Both python and c++ approach are welcomed. > Reagrds, zsj > -- > View this message in context: > http://old.nabble.com/How-to-render-to-other-drawing-surface--tp29113563p29113563.html > Sent from the Mapnik - Users mailing list archive at Nabble.com. > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

