Cleanup
This commit is contained in:
@@ -22,8 +22,8 @@ export default function AirportLayer({
|
||||
const debouncedLoad = useRef(
|
||||
debounce(async (map: any) => {
|
||||
const bounds = map.getBounds();
|
||||
const ne = bounds.getNorthEast()
|
||||
const sw = bounds.getSouthWest()
|
||||
const ne = bounds.getNorthEast();
|
||||
const sw = bounds.getSouthWest();
|
||||
lastBoundsRef.current = { ne, sw };
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user