Select to view content in your preferred language

AGSMultipoint isEqual stuck

820
2
Jump to solution
03-19-2021 11:52 AM
kris
by
Regular Contributor

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
Regular Contributor

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
Regular Contributor

This issue has been fixed in 100.11.0