🎯 MapView v2.0 - Global Deployment Ready

 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
This commit is contained in:
2025-07-20 19:52:16 +07:00
parent 3203463a6a
commit c65cc97a33
64624 changed files with 7199453 additions and 6462 deletions

View File

@@ -0,0 +1,128 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js"));
var eraValues = {
narrow: ['aC', 'dC'],
abbreviated: ['a.C.', 'd.C.'],
wide: ['avanti Cristo', 'dopo Cristo']
};
var quarterValues = {
narrow: ['1', '2', '3', '4'],
abbreviated: ['T1', 'T2', 'T3', 'T4'],
wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']
};
var monthValues = {
narrow: ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'],
abbreviated: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
wide: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre']
};
var dayValues = {
narrow: ['D', 'L', 'M', 'M', 'G', 'V', 'S'],
short: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
abbreviated: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
wide: ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato']
};
var dayPeriodValues = {
narrow: {
am: 'm.',
pm: 'p.',
midnight: 'mezzanotte',
noon: 'mezzogiorno',
morning: 'mattina',
afternoon: 'pomeriggio',
evening: 'sera',
night: 'notte'
},
abbreviated: {
am: 'AM',
pm: 'PM',
midnight: 'mezzanotte',
noon: 'mezzogiorno',
morning: 'mattina',
afternoon: 'pomeriggio',
evening: 'sera',
night: 'notte'
},
wide: {
am: 'AM',
pm: 'PM',
midnight: 'mezzanotte',
noon: 'mezzogiorno',
morning: 'mattina',
afternoon: 'pomeriggio',
evening: 'sera',
night: 'notte'
}
};
var formattingDayPeriodValues = {
narrow: {
am: 'm.',
pm: 'p.',
midnight: 'mezzanotte',
noon: 'mezzogiorno',
morning: 'di mattina',
afternoon: 'del pomeriggio',
evening: 'di sera',
night: 'di notte'
},
abbreviated: {
am: 'AM',
pm: 'PM',
midnight: 'mezzanotte',
noon: 'mezzogiorno',
morning: 'di mattina',
afternoon: 'del pomeriggio',
evening: 'di sera',
night: 'di notte'
},
wide: {
am: 'AM',
pm: 'PM',
midnight: 'mezzanotte',
noon: 'mezzogiorno',
morning: 'di mattina',
afternoon: 'del pomeriggio',
evening: 'di sera',
night: 'di notte'
}
};
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
var number = Number(dirtyNumber);
return String(number);
};
var localize = {
ordinalNumber: ordinalNumber,
era: (0, _index.default)({
values: eraValues,
defaultWidth: 'wide'
}),
quarter: (0, _index.default)({
values: quarterValues,
defaultWidth: 'wide',
argumentCallback: function argumentCallback(quarter) {
return quarter - 1;
}
}),
month: (0, _index.default)({
values: monthValues,
defaultWidth: 'wide'
}),
day: (0, _index.default)({
values: dayValues,
defaultWidth: 'wide'
}),
dayPeriod: (0, _index.default)({
values: dayPeriodValues,
defaultWidth: 'wide',
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: 'wide'
})
};
var _default = localize;
exports.default = _default;
module.exports = exports.default;