Selection symbol gets cut

Discussion created by nyekimov on Mar 20, 2017
Latest reply on Mar 21, 2017 by rolson-esristaff

I am setting a selectionSymbol for my layer this way (iOS SDK v 10.2.5):


        if let selectionSymbol = AGSPictureMarkerSymbol(image: selectionSymbolImg) {

            selectionSymbol.offset = CGPoint(x: 0, y: 10)

            layer.selectionSymbol = selectionSymbol



On the first picture you can see the expected result. However sometime when I select a point on the map the selection symbol gets cut, see second picture. So what's wrong with it? Have can I avoid this behavior? And how can I bring selected point to the front?