✨ 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
82 lines
1.8 KiB
TypeScript
82 lines
1.8 KiB
TypeScript
import { SourceMapConsumer } from 'source-map-js'
|
|
|
|
import { ProcessOptions } from './postcss.js'
|
|
|
|
declare namespace PreviousMap {
|
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
export { PreviousMap_ as default }
|
|
}
|
|
|
|
/**
|
|
* Source map information from input CSS.
|
|
* For example, source map after Sass compiler.
|
|
*
|
|
* This class will automatically find source map in input CSS or in file system
|
|
* near input file (according `from` option).
|
|
*
|
|
* ```js
|
|
* const root = parse(css, { from: 'a.sass.css' })
|
|
* root.input.map //=> PreviousMap
|
|
* ```
|
|
*/
|
|
declare class PreviousMap_ {
|
|
/**
|
|
* `sourceMappingURL` content.
|
|
*/
|
|
annotation?: string
|
|
|
|
/**
|
|
* The CSS source identifier. Contains `Input#file` if the user
|
|
* set the `from` option, or `Input#id` if they did not.
|
|
*/
|
|
file?: string
|
|
|
|
/**
|
|
* Was source map inlined by data-uri to input CSS.
|
|
*/
|
|
inline: boolean
|
|
|
|
/**
|
|
* Path to source map file.
|
|
*/
|
|
mapFile?: string
|
|
|
|
/**
|
|
* The directory with source map file, if source map is in separated file.
|
|
*/
|
|
root?: string
|
|
|
|
/**
|
|
* Source map file content.
|
|
*/
|
|
text?: string
|
|
|
|
/**
|
|
* @param css Input CSS source.
|
|
* @param opts Process options.
|
|
*/
|
|
constructor(css: string, opts?: ProcessOptions)
|
|
|
|
/**
|
|
* Create a instance of `SourceMapGenerator` class
|
|
* from the `source-map` library to work with source map information.
|
|
*
|
|
* It is lazy method, so it will create object only on first call
|
|
* and then it will use cache.
|
|
*
|
|
* @return Object with source map information.
|
|
*/
|
|
consumer(): SourceMapConsumer
|
|
|
|
/**
|
|
* Does source map contains `sourcesContent` with input source text.
|
|
*
|
|
* @return Is `sourcesContent` present.
|
|
*/
|
|
withContent(): boolean
|
|
}
|
|
|
|
declare class PreviousMap extends PreviousMap_ {}
|
|
|
|
export = PreviousMap
|