osm-gps-map
osm-gps-map copied to clipboard
drawable area cairo
Hi, I'm working on a project based on your library and example mapviewer.py. I would like to add several layers (real-time localisation of a robot, waypoints and paths the robot can take) and I try to create a cairo drawable area that matches with the map displayed on Gtk window. I don't know how to proceed, i see on cairo website some examples like this but how to define the surface that will be used to draw compared with map displayed ??? surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT) ctx = cairo.Context(surface) Thanks a lot in advance for your help (if you can tell me lines to add to mapviewer.py) David
In other words, i understand that I need to create a cairo context where I need to set the target surface. What is the surface that I need to use ?
In other words, i understand that I need to create a cairo context where I need to set the target surface. What is the surface that I need to use ?
Did you find solution ?
Hi, I dont have time to work on this anymore. I am looking for a new maintainer to take over
On Sat, 12 Sep 2020 at 05:36, Michal Misiaszek [email protected] wrote:
In other words, i understand that I need to create a cairo context where I need to set the target surface. What is the surface that I need to use ?
Did you find solution ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nzjrs/osm-gps-map/issues/67#issuecomment-691406691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAKHIYWPWLOSONS4J5GBTLSFL3F5ANCNFSM4JC2UBIA .