AGSMultipoint isEqual stuck

711
2
Jump to solution
03-19-2021 11:52 AM
kris
by
New Contributor III

Hi!

The SDK gets stuck at the following (regardless of the points provided)

let point = AGSMultipoint(points: [])
point.isEqual(to: point)


Cheers, 
Kristoffer

0 Kudos
1 Solution

Accepted Solutions
rolson_esri
New Contributor III

This issue has been fixed in 100.11.0

View solution in original post

2 Replies
Ting
by Esri Contributor
Esri Contributor

Thanks for reporting this issue. We'll look into it! 🙂

 

Edit: it is an existing bug 🐛 in the SDK and we'll fix it in the next release!

Many thanks for catching that! 👍

 

Meanwhile, you may use a temporary workaround like this

 

```swift

extension AGSMultipoint {

    func isEqualWithoutHanging(to other: AGSGeometry) -> Bool {

        return super.isEqual(to: other)

    }

}

```

rolson_esri
New Contributor III

This issue has been fixed in 100.11.0