Move the Some code to addLonLatTileByCORS