Switching from shared web workers (not supported by chrome on android) to "normal" web workers.
This commit is contained in:
1 parent
e4621e4651
commit
ad3d2125bb
4 files changed
+19
-21
No files matched your search
@@ -23,7 +23,9 @@ export const Gpxes: react.FC<GpxesProperties> = (props: GpxesProperties) => {
|
||||
console.log(`Gpxes, visibles: ${JSON.stringify(gpxes)}`);
|
||||
setVisibleGpxes(gpxes);
|
||||
};
|
||||
getVisibleGpxes();
|
||||
if (props.viewPort !== undefined) {
|
||||
getVisibleGpxes();
|
||||
}
|
||||
}, [
|
||||
props.viewPort?.bottomRight.x,
|
||||
props.viewPort?.bottomRight.y,
|
||||
|
||||
Reference in new issue
Block a user