I want to draw an area from given points on a map using the Google API on iPhone (I always have more than 2 points). If it is possible I want this area to be with alfa 0.5 (so people will be able to see routes underneath this area).
I would appreciate any code and links.
There are a few similar questions, but I didn’t find anything just like this, so please correct me if I’m wrong.
Just use a
MKOverlayViewand give it a properframe(of typeCGRect) calculated from the given points. Set thealphaof the view to 0.5. Note thatframeandalphaare properties ofUIView, of whichMKOverlayViewis a subclass.Read everything about this class here.