tile background created, need to fix shifting of tile
This commit is contained in:
parent
392b339727
commit
3c40219003
8 changed files with 228 additions and 5 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue