X-Git-Url: https://source.tree.se/git?p=treecutter.git;a=blobdiff_plain;f=xinclude%2Faddress.py;h=fd5fe9664d7d30ff031343129ba796c45c251709;hp=4ae59df068161e07dba7e09829a2be8565e752fd;hb=9326578627f1f3b91de54304713d04078cf2c280;hpb=0ca9b21003f541cb6c1007f6f2e4a51abb4e96f8 diff --git a/xinclude/address.py b/xinclude/address.py index 4ae59df..fd5fe96 100755 --- a/xinclude/address.py +++ b/xinclude/address.py @@ -24,22 +24,6 @@ TS = 256 h = Http(".cache") -class StaticOpenStreetMap(object): - """Setting up a static image from OSM with one or more markers""" - def __init__(self): - self._zoom = 0 - self._width = 0 - self._height = 0 - self._markers = [] - self._maptype = 'mapnik' - - def add_marker(lon,lat): - self._markers.append((lon,lat)) - -# def construct_map(self): -# for coord in self._markers: -# print coord - def lontile(lon, zoom): tile = ((lon + 180) / 360) * (2**zoom) return tile