✨ 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
38 lines
1.6 KiB
JavaScript
38 lines
1.6 KiB
JavaScript
// Thai [th]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'th',
|
|
weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
|
weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'),
|
|
weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
|
months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
|
|
monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
|
|
formats: {
|
|
LT: 'H:mm',
|
|
LTS: 'H:mm:ss',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY เวลา H:mm',
|
|
LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'
|
|
},
|
|
relativeTime: {
|
|
future: 'อีก %s',
|
|
past: '%sที่แล้ว',
|
|
s: 'ไม่กี่วินาที',
|
|
m: '1 นาที',
|
|
mm: '%d นาที',
|
|
h: '1 ชั่วโมง',
|
|
hh: '%d ชั่วโมง',
|
|
d: '1 วัน',
|
|
dd: '%d วัน',
|
|
M: '1 เดือน',
|
|
MM: '%d เดือน',
|
|
y: '1 ปี',
|
|
yy: '%d ปี'
|
|
},
|
|
ordinal: function ordinal(n) {
|
|
return n + ".";
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |