class PolygonOptionsMapper implements Mapper<PolygonOptions, com.google.android.gms.maps.model.PolygonOptions> {

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

		return new com.google.android.gms.maps.model.PolygonOptions()
				.fillColor(input.getFillColor())
				.strokeColor(input.getStrokeColor())
				.strokeWidth(input.getStrokeWidth())
				.addAll(points);
	}

}