I have created an app using the Mapviewer template. I added some customisation to the template, but for some reason the symbols in the legend are behaving strange. All the first symbols are all blue, and down the bottom the symbols are loaded correctly.
Can someone point me to where in the code this part is being messed up?
(It works when using the same maps in a new template, so the maps are fine, but because of my customization, i can't use a new template)