✨ 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
78 lines
2.4 KiB
JavaScript
78 lines
2.4 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
0 && (module.exports = {
|
|
loader: null,
|
|
plugin: null,
|
|
unshiftLoader: null
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
loader: function() {
|
|
return loader;
|
|
},
|
|
plugin: function() {
|
|
return plugin;
|
|
},
|
|
unshiftLoader: function() {
|
|
return unshiftLoader;
|
|
}
|
|
});
|
|
const _lodashcurry = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/lodash.curry"));
|
|
function _interop_require_default(obj) {
|
|
return obj && obj.__esModule ? obj : {
|
|
default: obj
|
|
};
|
|
}
|
|
const loader = (0, _lodashcurry.default)(function loader(rule, config) {
|
|
var _config_module_rules;
|
|
if (!config.module) {
|
|
config.module = {
|
|
rules: []
|
|
};
|
|
}
|
|
if (rule.oneOf) {
|
|
var _config_module_rules1;
|
|
const existing = (_config_module_rules1 = config.module.rules) == null ? void 0 : _config_module_rules1.find((arrayRule)=>arrayRule && typeof arrayRule === "object" && arrayRule.oneOf);
|
|
if (existing && typeof existing === "object") {
|
|
existing.oneOf.push(...rule.oneOf);
|
|
return config;
|
|
}
|
|
}
|
|
(_config_module_rules = config.module.rules) == null ? void 0 : _config_module_rules.push(rule);
|
|
return config;
|
|
});
|
|
const unshiftLoader = (0, _lodashcurry.default)(function unshiftLoader(rule, config) {
|
|
var _config_module_rules;
|
|
if (!config.module) {
|
|
config.module = {
|
|
rules: []
|
|
};
|
|
}
|
|
if (rule.oneOf) {
|
|
var _config_module_rules1;
|
|
const existing = (_config_module_rules1 = config.module.rules) == null ? void 0 : _config_module_rules1.find((arrayRule)=>arrayRule && typeof arrayRule === "object" && arrayRule.oneOf);
|
|
if (existing && typeof existing === "object") {
|
|
var _existing_oneOf;
|
|
(_existing_oneOf = existing.oneOf) == null ? void 0 : _existing_oneOf.unshift(...rule.oneOf);
|
|
return config;
|
|
}
|
|
}
|
|
(_config_module_rules = config.module.rules) == null ? void 0 : _config_module_rules.unshift(rule);
|
|
return config;
|
|
});
|
|
const plugin = (0, _lodashcurry.default)(function plugin(p, config) {
|
|
if (!config.plugins) {
|
|
config.plugins = [];
|
|
}
|
|
config.plugins.push(p);
|
|
return config;
|
|
});
|
|
|
|
//# sourceMappingURL=helpers.js.map
|