title: UIBezierPath - What is unit radius
body: <p>I am programming a Swift application, I use the SDK Skobbler to manipulate a map.
  The application displays circles:</p>
  
  <pre><code>func displayCircle(x: Int, y: Int, radius: Int){...} //display circle in the map
  </code></pre>
  
  <p>Moreover, I check if the user is in this area: </p>
  
  <pre><code>for area in self.areas {
  
              var c = UIBezierPath()
  
              let lat = area.getLatitude()
              let long = area.getLongitude()
              let radius = area.getRadius()/1000
              let center = CGPoint(x: lat, y: long)
  
              c.addArcWithCenter(center, radius: CGFloat(radius), startAngle: CGFloat(0), endAngle: CGFloat(360), clockwise: true)
              if c.containsPoint(CGPoint(x: currentLocation.latitude, y: currentLocation.longitude)) {
                  //I AM IN THE AREA
              }else {
                  //I AM NOT IN THE AREA
              }
              c.closePath()  
          }
  </code></pre>
  
  <p>When I am in the circle, it works but, when I am outsite the circles it also works...</p>
  
  <p>I think the problem is related to the unit radius</p>
  
  <ul>
  <li>skobbler -> unit meter</li>
  <li>UIBezierPath - unit ???</li>
  </ul>
  
  <p>Thank you for your help</p>
  
  <p>Ysee</p>