目录
目录README.md

CoordinateCheck

This is used to ckeck if a locaion is inside an array of coordinates array that builds polygon.

CheckPoly().checkInPoly(lat: item.latitude!, long: item.longitude!, polyArray: Counties.milwaukee)

It also can use checkInCircle to check if a second location is with in a raduis around center location.

CheckPoly().checkInCircle(centerCoordinate: center, radius: 200, point: CLLocationCoordinate2D(latitude: $0.latitude!, longitude: $0.longitude!)
关于
32.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号