Fix incorrect basemap tile calculation; Extra processing in case basemap coastlines are present