✨ MAJOR FEATURES: • Auto-zoom intelligence với smart bounds fitting • Enhanced 3D GPS markers với pulsing effects • Professional route display với 6-layer rendering • Status-based parking icons với availability indicators • Production-ready build optimizations 🗺️ AUTO-ZOOM FEATURES: • Smart bounds fitting cho GPS + selected parking • Adaptive padding (50px) cho visual balance • Max zoom control (level 16) để tránh quá gần • Dynamic centering khi không có selection 🎨 ENHANCED VISUALS: • 3D GPS marker với multi-layer pulse effects • Advanced parking icons với status colors • Selection highlighting với animation • Dimming system cho non-selected items 🛣️ ROUTE SYSTEM: • OpenRouteService API integration • Multi-layer route rendering (glow, shadow, main, animated) • Real-time distance & duration calculation • Visual route info trong popup 📱 PRODUCTION READY: • SSR safe với dynamic imports • Build errors resolved • Global deployment via Vercel • Optimized performance 🌍 DEPLOYMENT: • Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app • Bundle size: 22.8 kB optimized • Global CDN distribution • HTTPS enabled 💾 VERSION CONTROL: • MapView-v2.0.tsx backup created • MAPVIEW_VERSIONS.md documentation • Full version history tracking
41 lines
1.7 KiB
TypeScript
41 lines
1.7 KiB
TypeScript
/// <reference types="node" />
|
|
import type { AsyncLocalStorage } from 'async_hooks';
|
|
import type { IncrementalCache } from '../../server/lib/incremental-cache';
|
|
import type { DynamicServerError } from './hooks-server-context';
|
|
import type { FetchMetrics } from '../../server/base-http';
|
|
import type { Revalidate } from '../../server/lib/revalidate';
|
|
import type { PrerenderState } from '../../server/app-render/dynamic-rendering';
|
|
import { staticGenerationAsyncStorage } from './static-generation-async-storage-instance';
|
|
export interface StaticGenerationStore {
|
|
readonly isStaticGeneration: boolean;
|
|
readonly pagePath?: string;
|
|
readonly urlPathname: string;
|
|
readonly incrementalCache?: IncrementalCache;
|
|
readonly isOnDemandRevalidate?: boolean;
|
|
readonly isPrerendering?: boolean;
|
|
readonly isRevalidate?: boolean;
|
|
readonly isUnstableCacheCallback?: boolean;
|
|
prerenderState: null | PrerenderState;
|
|
forceDynamic?: boolean;
|
|
fetchCache?: 'only-cache' | 'force-cache' | 'default-cache' | 'force-no-store' | 'default-no-store' | 'only-no-store';
|
|
revalidate?: Revalidate;
|
|
forceStatic?: boolean;
|
|
dynamicShouldError?: boolean;
|
|
pendingRevalidates?: Record<string, Promise<any>>;
|
|
dynamicUsageDescription?: string;
|
|
dynamicUsageStack?: string;
|
|
dynamicUsageErr?: DynamicServerError;
|
|
nextFetchId?: number;
|
|
pathWasRevalidated?: boolean;
|
|
tags?: string[];
|
|
revalidatedTags?: string[];
|
|
fetchMetrics?: FetchMetrics;
|
|
isDraftMode?: boolean;
|
|
isUnstableNoStore?: boolean;
|
|
requestEndedState?: {
|
|
ended?: boolean;
|
|
};
|
|
}
|
|
export type StaticGenerationAsyncStorage = AsyncLocalStorage<StaticGenerationStore>;
|
|
export { staticGenerationAsyncStorage };
|