✨ 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
70 lines
2.6 KiB
JavaScript
70 lines
2.6 KiB
JavaScript
var _self___RSC_MANIFEST;
|
|
import "../../server/web/globals";
|
|
import { adapter } from "../../server/web/adapter";
|
|
import { getRender } from "../webpack/loaders/next-edge-ssr-loader/render";
|
|
import { IncrementalCache } from "../../server/lib/incremental-cache";
|
|
import { renderToHTMLOrFlight as renderToHTML } from "../../server/app-render/app-render";
|
|
import * as pageMod from "VAR_USERLAND";
|
|
import { PAGE_TYPES } from "../../lib/page-types";
|
|
import { setReferenceManifestsSingleton } from "../../server/app-render/encryption-utils";
|
|
import { createServerModuleMap } from "../../server/app-render/action-utils";
|
|
// OPTIONAL_IMPORT:incrementalCacheHandler
|
|
const Document = null;
|
|
const appMod = null;
|
|
const errorMod = null;
|
|
const error500Mod = null;
|
|
// INJECT:sriEnabled
|
|
// INJECT:isServerComponent
|
|
// INJECT:dev
|
|
// INJECT:serverActions
|
|
// INJECT:nextConfig
|
|
const maybeJSONParse = (str)=>str ? JSON.parse(str) : undefined;
|
|
const buildManifest = self.__BUILD_MANIFEST;
|
|
const reactLoadableManifest = maybeJSONParse(self.__REACT_LOADABLE_MANIFEST);
|
|
const rscManifest = (_self___RSC_MANIFEST = self.__RSC_MANIFEST) == null ? void 0 : _self___RSC_MANIFEST["VAR_PAGE"];
|
|
const rscServerManifest = maybeJSONParse(self.__RSC_SERVER_MANIFEST);
|
|
const subresourceIntegrityManifest = sriEnabled ? maybeJSONParse(self.__SUBRESOURCE_INTEGRITY_MANIFEST) : undefined;
|
|
const nextFontManifest = maybeJSONParse(self.__NEXT_FONT_MANIFEST);
|
|
const interceptionRouteRewrites = maybeJSONParse(self.__INTERCEPTION_ROUTE_REWRITE_MANIFEST) ?? [];
|
|
if (rscManifest && rscServerManifest) {
|
|
setReferenceManifestsSingleton({
|
|
clientReferenceManifest: rscManifest,
|
|
serverActionsManifest: rscServerManifest,
|
|
serverModuleMap: createServerModuleMap({
|
|
serverActionsManifest: rscServerManifest,
|
|
pageName: "VAR_PAGE"
|
|
})
|
|
});
|
|
}
|
|
const render = getRender({
|
|
pagesType: PAGE_TYPES.APP,
|
|
dev,
|
|
page: "VAR_PAGE",
|
|
appMod,
|
|
pageMod,
|
|
errorMod,
|
|
error500Mod,
|
|
Document,
|
|
buildManifest,
|
|
renderToHTML,
|
|
reactLoadableManifest,
|
|
clientReferenceManifest: isServerComponent ? rscManifest : null,
|
|
serverActionsManifest: isServerComponent ? rscServerManifest : null,
|
|
serverActions: isServerComponent ? serverActions : undefined,
|
|
subresourceIntegrityManifest,
|
|
config: nextConfig,
|
|
buildId: process.env.__NEXT_BUILD_ID,
|
|
nextFontManifest,
|
|
incrementalCacheHandler,
|
|
interceptionRouteRewrites
|
|
});
|
|
export const ComponentMod = pageMod;
|
|
export default function nHandler(opts) {
|
|
return adapter({
|
|
...opts,
|
|
IncrementalCache,
|
|
handler: render
|
|
});
|
|
}
|
|
|
|
//# sourceMappingURL=edge-ssr-app.js.map
|