We calculate the electromagnetic field radiated by tubular nanowires with prismatic geometry and infinite length. The polygonal geometry has implications on the electronic localization; the lowest energy states are localized at the edges of the prism and are separated by a considerable energy gap from the states localized on the facets. This localization can be controlled with external electric or magnetic fields. In particular, by applying a magnetic field transverse to the wire the states may become localized on the lateral regions of the shell, relatively to the direction of the field, leading to channels of opposite currents. Because of the prismatic geometry of the nanowire the current distribution, and hence the radiated electromagnetic field, have an anisotropic structure, which can be modified by the external fields. In this work we study hexagonal, square and triangular nanowires.