can not get the proper snapshot of of the map
<p>Im working on MapKit and I have to take a snapshot of my current location with the annotation. What I did is</p>

<pre><code> UIGraphicsBeginImageContextWithOptions(CGSizeMake(64,64), YES, 2.0f);
 [[mapView layer] renderInContext:UIGraphicsGetCurrentContext()];

 detailView.snapShot = UIGraphicsGetImageFromCurrentImageContext();
 UIGraphicsEndImageContext();
</code></pre>

<p>However, the returned image is not what I want. 
This is the image of a map with an annotation on it
<img src="http://i.stack.imgur.com/8FzdK.png" alt="enter image description here"></p>

<p>The second image is taken from the top left corner of the above image. </p>

<p><img src="http://i.stack.imgur.com/ujxoB.png" alt="enter image description here"></p>

<p><strong>QUESTION:</strong></p>

<p>How can I take a snap shot so that my image should be like below</p>

<p><img src="http://i.stack.imgur.com/V4UxA.png" alt="enter image description here"></p>
