tile background created, need to fix shifting of tile

This commit is contained in:
Matt Walsh
2025-06-13 16:44:53 -05:00
parent 392b339727
commit 3c40219003
8 changed files with 228 additions and 5 deletions

View File

@@ -206,6 +206,11 @@ const mapSizeToFinalSize = (x, y) => ({
y: Math.round(y * scaling.width),
});
const fetchAsBlob = async (url) => {
const response = await fetch(url);
return response.blob();
};
export {
getXYFromLatitudeLongitudeDoppler,
getXYFromLatitudeLongitudeMap,
@@ -217,4 +222,5 @@ export {
tileSize,
radarFinalSize,
radarFullSize,
fetchAsBlob,
};