remove unused variable 'array'
make the path associated(inside) with MKPolyline a complete closed polygon, so you can fill this path with fill color and/or gradient color
call the showRouteFrom:to: with the result returned by navigation