Visby is the only city on the Swedish island of Gotland .
Visby is a locality and the seat of Gotland Municipality in Gotland County , Sweden with 22,236 inhabitants in 2005 .