trying to fix the cross origin errors with local tiles