title: Updating annotations on the map asynchronous with the app
body: <p>I am trying to add activity indicator while updating annotation on the map. But it seems not to work such a way. Application screen disables and becomes frozen once process of update is started, so that's why probably activity indicator is not visible. </p>
  
  <p>My question is: Is it possible to update annotations on the map asynchronous with the app, so activity indicator would be visible.</p>
  
  <p>I believe it is really annoying for the user not to see indicator if it takes more then 2 sec.</p>
  
  <p><strong>Solution:</strong></p>
  
  <pre><code>self.activityIndicator.startAnimating()
  dispatch_after(DISPATCH_TIME_NOW, dispatch_get_main_queue(), {
                  self.showPins(self.initialLat, locationLong: self.initialLong)
              })
  self.activityIndicator.stopAnimating()
  </code></pre>