added polyline method to geo.js