I need to draw the border for the Polyline on my Mapview
Here is the screenshot that I need to implement but I am getting the poly line without the border.
Code Work:
- (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay {
MKPolylineRenderer *renderer = [[MKPolylineRenderer alloc] initWithPolyline:overlay];
renderer.strokeColor = [UIColor rle_lightBurGundy];
renderer.fillColor = [UIColor rle_whiteColor];
renderer.lineWidth = 4.0;
return renderer;
}