✨ 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
51 lines
1.9 KiB
TypeScript
51 lines
1.9 KiB
TypeScript
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
import type { ServerResponse, IncomingMessage } from 'http';
|
|
import type { Writable, Readable } from 'stream';
|
|
import { SYMBOL_CLEARED_COOKIES } from '../api-utils';
|
|
import type { NextApiRequestCookies } from '../api-utils';
|
|
import { NEXT_REQUEST_META } from '../request-meta';
|
|
import type { RequestMeta } from '../request-meta';
|
|
import { BaseNextRequest, BaseNextResponse, type FetchMetric } from './index';
|
|
import type { OutgoingHttpHeaders } from 'node:http';
|
|
type Req = IncomingMessage & {
|
|
[NEXT_REQUEST_META]?: RequestMeta;
|
|
cookies?: NextApiRequestCookies;
|
|
fetchMetrics?: FetchMetric[];
|
|
};
|
|
export declare class NodeNextRequest extends BaseNextRequest<Readable> {
|
|
private _req;
|
|
headers: import("http").IncomingHttpHeaders;
|
|
fetchMetrics?: FetchMetric[];
|
|
[NEXT_REQUEST_META]: RequestMeta;
|
|
get originalRequest(): Req;
|
|
set originalRequest(value: Req);
|
|
constructor(_req: Req);
|
|
}
|
|
export declare class NodeNextResponse extends BaseNextResponse<Writable> {
|
|
private _res;
|
|
private textBody;
|
|
[SYMBOL_CLEARED_COOKIES]?: boolean;
|
|
get originalResponse(): ServerResponse<IncomingMessage> & {
|
|
[SYMBOL_CLEARED_COOKIES]?: boolean | undefined;
|
|
};
|
|
constructor(_res: ServerResponse & {
|
|
[SYMBOL_CLEARED_COOKIES]?: boolean;
|
|
});
|
|
get sent(): boolean;
|
|
get statusCode(): number;
|
|
set statusCode(value: number);
|
|
get statusMessage(): string;
|
|
set statusMessage(value: string);
|
|
setHeader(name: string, value: string | string[]): this;
|
|
removeHeader(name: string): this;
|
|
getHeaderValues(name: string): string[] | undefined;
|
|
hasHeader(name: string): boolean;
|
|
getHeader(name: string): string | undefined;
|
|
getHeaders(): OutgoingHttpHeaders;
|
|
appendHeader(name: string, value: string): this;
|
|
body(value: string): this;
|
|
send(): void;
|
|
}
|
|
export {};
|