addTileLayer is no longer called multiple times