tile background created, need to fix shifting of tile

This commit is contained in:
Matt Walsh 2025-06-13 16:44:53 -05:00
commit 3c40219003
No known key found for this signature in database
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,
};