Added z,x,y to responses

This commit is contained in:
Komяpa 2011-05-27 00:05:50 +03:00
parent ae4a184768
commit 73b78e95e2

View file

@ -187,7 +187,7 @@ aaaa = get_vectors(bbox,zoom,style,"polygon")
aaaa["features"].extend(get_vectors(bbox,zoom,style,"line")["features"])
aaaa["features"].extend(get_vectors(bbox,zoom,style,"point")["features"])
aaaa = callback+"("+json.dumps(aaaa,True,False,separators=(',', ':'))+");"
aaaa = callback+"("+json.dumps(aaaa,True,False,separators=(',', ':'))+",%s,%s,%s);"%(z,x,y)
print aaaa
dir = "/var/www/vtile/%s/%s/"%(z,x)