AnsweredAssumed Answered

Legend code with XCode 4.2 and storyboard

Question asked by jonesra on Jan 13, 2012
Latest reply on Jan 19, 2012 by jonesra
Has anyone tried the legend code with a storyboard?

I have a modified legend working with a .xib style project. It uses on/off slider switch on each layer, with collapsing sub-types. All icons render.

I just made a storyboard sample, with a button calling a segue for a popover tableview controller.

The Dynamic layers display legend icons properly.
The Feature layers display legend icons only for the lines in the visible frame of the popover.
Anything else has no legend icons when scrolled into view.

Also, if the layer is turned off (layer view's alpha = 0) when the legend appears, the icons never appear even for the parts within the frame.

I can provide code.

Outcomes