class PolylineOptionsMapper implements Mapper<PolylineOptions, com.google.android.gms.maps.model.PolylineOptions> {

	@Override
	public com.google.android.gms.maps.model.PolylineOptions map(PolylineOptions input) {
		List<LatLng> points = AnyMapAdapter.adaptList(com.car2go.maps.model.LatLng.class, input.getPoints());

		return new com.google.android.gms.maps.model.PolylineOptions()
				.color(input.getColor())
				.width(input.getWidth())
				.addAll(points);
	}

}