osm-gps-map icon indicating copy to clipboard operation
osm-gps-map copied to clipboard

drawable area cairo

Open diver3416 opened this issue 5 years ago • 3 comments

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

diver3416 avatar Oct 21 '19 09:10 diver3416

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 ?

diver3416 avatar Oct 21 '19 13:10 diver3416

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 ?

MichalMisiaszek avatar Sep 12 '20 04:09 MichalMisiaszek

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 .

nzjrs avatar Sep 14 '20 10:09 nzjrs