Files
Laca-City/backend/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json
PhongPham c65cc97a33 🎯 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
2025-07-20 19:52:16 +07:00

95 lines
3.0 KiB
JSON

{
"definitions": {
"Provides": {
"description": "Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.",
"anyOf": [
{
"type": "array",
"items": {
"description": "Modules that should be provided as shared modules to the share scope.",
"anyOf": [
{
"$ref": "#/definitions/ProvidesItem"
},
{
"$ref": "#/definitions/ProvidesObject"
}
]
}
},
{
"$ref": "#/definitions/ProvidesObject"
}
]
},
"ProvidesConfig": {
"description": "Advanced configuration for modules that should be provided as shared modules to the share scope.",
"type": "object",
"additionalProperties": false,
"properties": {
"eager": {
"description": "Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.",
"type": "boolean"
},
"shareKey": {
"description": "Key in the share scope under which the shared modules should be stored.",
"type": "string",
"minLength": 1
},
"shareScope": {
"description": "Share scope name.",
"type": "string",
"minLength": 1
},
"version": {
"description": "Version of the provided module. Will replace lower matching versions, but not higher.",
"anyOf": [
{
"description": "Don't provide a version.",
"enum": [false]
},
{
"description": "Version as string. Each part of the version should be separated by a dot '.'.",
"type": "string"
}
]
}
}
},
"ProvidesItem": {
"description": "Request to a module that should be provided as shared module to the share scope (will be resolved when relative).",
"type": "string",
"minLength": 1
},
"ProvidesObject": {
"description": "Modules that should be provided as shared modules to the share scope. Property names are used as share keys.",
"type": "object",
"additionalProperties": {
"description": "Modules that should be provided as shared modules to the share scope.",
"anyOf": [
{
"$ref": "#/definitions/ProvidesConfig"
},
{
"$ref": "#/definitions/ProvidesItem"
}
]
}
}
},
"title": "ProvideSharedPluginOptions",
"type": "object",
"additionalProperties": false,
"properties": {
"provides": {
"$ref": "#/definitions/Provides"
},
"shareScope": {
"description": "Share scope name used for all provided modules (defaults to 'default').",
"type": "string",
"minLength": 1
}
},
"required": ["provides"]
}