Born in Brčko, Maglica started his career playing at youth level for Orašje. After he moved to Osijek to attend high school, he immediately underwent trial at NK Osijek and joined their youth team.[1] He made his debut for the first team in the last round of 2008–09 Prva HNL season against Slaven Belupo on 31 May 2009, when he replaced Josip Knežević for the final twenty minutes of the match.[2] Next season he also got the chance as a substitute in the last round, this time in a home win against Cibalia.[3] He scored his first goal in Prva HNL in a 1–0 victory over Cibalia at fog-covered Gradski vrt.[4]
Hajduk Split
In the 2010–11 and 2011–12 seasons, Maglica made a name for himself as one of the best up and coming young Croatian attacking talents in the 1. HNL and was signed by league giants HNK Hajduk Split, rejected a larger offer from GNK Dinamo Zagreb in the process and immediately endearing himself to the club's loyal fans. He scored his first goal for his new club after coming on as a substitute against NK Zagreb. He scored the fifth goal of an emphatic 5–1 victory. His first season with the Bili gave a disappointing return of 5 goals in 17 appearances. The 13/14 season was far more successful for the striker as he scored 12 goals in 31 appearances.
He left Hajduk in January 2016 to join Cypriot side Apollon Limassol.
Apollon Limassol
Maglica signed for Apollon Limassol in a winter transfer window of the 2016–17 season.
Guizhou Hengfeng
Maglica signed for Chinese side Guizhou Hengfeng in a winter transfer window of the 2018–19 season.[5]