fixes #3871Los WMTS persistidos, no cargan la imagen en la vistaNecesitan inicializar más variables en loadFromState
refs #2793
#2439 Problems with a WMTS server
#2439 Template implementation