swaps marker and tileLayer