✨ 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
44 lines
1.8 KiB
TypeScript
44 lines
1.8 KiB
TypeScript
import type { DocNode } from '../nodes/DocNode';
|
|
export type DocNodeConstructor = new (...args: any[]) => DocNode;
|
|
export interface IDocNodeDefinition {
|
|
docNodeKind: string;
|
|
constructor: DocNodeConstructor;
|
|
}
|
|
/**
|
|
* Part of the {@link TSDocConfiguration} object.
|
|
*
|
|
* @remarks
|
|
* If you define your own custom subclasses of `DocNode`, they must be registered with the `DocNodeManager`.
|
|
* Use {@link DocNodeManager.registerAllowableChildren} to specify which {@link DocNodeContainer} subclasses
|
|
* are allowed to contain your nodes.
|
|
*/
|
|
export declare class DocNodeManager {
|
|
private static readonly _nodeKindRegExp;
|
|
private readonly _docNodeDefinitionsByKind;
|
|
private readonly _docNodeDefinitionsByConstructor;
|
|
/**
|
|
* Registers a list of {@link IDocNodeDefinition} objects to be used with the associated
|
|
* {@link TSDocConfiguration} object.
|
|
*/
|
|
registerDocNodes(packageName: string, definitions: ReadonlyArray<IDocNodeDefinition>): void;
|
|
/**
|
|
* Reports an error if the specified DocNode kind has not been registered.
|
|
*/
|
|
throwIfNotRegisteredKind(docNodeKind: string): void;
|
|
/**
|
|
* For the given parent DocNode kind, registers the specified DocNode kinds as being allowable children of
|
|
* the parent.
|
|
*
|
|
* @remarks
|
|
* To prevent mistakes, `DocNodeContainer` will report an error if you try to add node that was not registered
|
|
* as an allowable child of the container.
|
|
*/
|
|
registerAllowableChildren(parentKind: string, childKinds: ReadonlyArray<string>): void;
|
|
/**
|
|
* Returns true if the specified DocNode kind has been registered as an allowable child of the specified
|
|
* parent DocNode kind.
|
|
*/
|
|
isAllowedChild(parentKind: string, childKind: string): boolean;
|
|
private _getDefinition;
|
|
}
|
|
//# sourceMappingURL=DocNodeManager.d.ts.map
|