source: subversion/applications/routing/pyroute_webGUI/tile_route.py @ 8116

Last change on this file since 8116 was 8116, checked in by ojw, 11 years ago

outline code for doing transparent tile overlays

File size: 265 bytes
Line 
1from tile_base import TileBase
2
3class TileRoute(TileBase):
4  def __init__(self):
5    pass
6  def draw(self):
7    self.ctx.set_source_rgb(0, 0, 0)
8    #(x,y) = self.proj.project(lat,lon)
9    self.ctx.move_to(50,50)
10    self.ctx.line_to(150,150)
11    self.ctx.stroke()
Note: See TracBrowser for help on using the repository browser.