Mercurial > hg > batmud > gmap2
changeset 90:a45bf2b79256 gmap2
Actually draw the tradelanes as polylines.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 16 Oct 2011 02:14:37 +0300 |
parents | eda395037855 |
children | e4a37528f1a7 |
files | markers.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/markers.js Sun Oct 16 01:37:44 2011 +0300 +++ b/markers.js Sun Oct 16 02:14:37 2011 +0300 @@ -101,8 +101,8 @@ coords.push(proj.fromPixelToLatLng(new GPoint(x*2+1, y*2+1), 7)); } -// var poly = new GPolyline(coords, "#ff0000", 15); -// map.addOverlay(poly); + var poly = new GPolyline(coords, "#ffffff", 1, 0.7); + map.addOverlay(poly); } });