UNPKG

ojp-sdk-legacy

Version:

OJP (Open Journey Planner) Javascript SDK (legacy version)

14 lines (13 loc) 678 B
import { XML_Config } from "../types/_all"; import { RestrictionPoiOSMTag } from "../types/lir-restrictions.type"; import { TreeNode } from "../xml/tree-node"; export declare class PointOfInterest { code: string; name: string; category: RestrictionPoiOSMTag; subCategory: string | null; categoryTags: string[]; mapAdditionalInformation: Record<string, string>; constructor(code: string, name: string, category: RestrictionPoiOSMTag, subCategory: string | null, categoryTags: string[], mapAdditionalInformation: Record<string, string>); static initWithLocationTreeNode(locationTreeNode: TreeNode, xmlConfig: XML_Config): PointOfInterest | null; }