WalkingRouteOptions
interface WalkingRouteOptions {
onInfoHtmlSet?: (poi: LocalResultPoi, html: HTMLElement) => void;
onMarkersSet?: (pois: LocalResultPoi[]) => void;
onPolylinesSet?: (polylines: Polyline[]) => void;
onResultsHtmlSet?: (container: HTMLElement) => void;
onSearchComplete?: (results: WalkingRouteResult) => void;
renderOptions?: RenderOptions;
}
onInfoHtmlSet?: (poi: LocalResultPoi, html: HTMLElement) => void;
onMarkersSet?: (pois: LocalResultPoi[]) => void;
onPolylinesSet?: (polylines: Polyline[]) => void;
onResultsHtmlSet?: (container: HTMLElement) => void;
onSearchComplete?: (results: WalkingRouteResult) => void;
renderOptions?: RenderOptions;
}
WalkingRoute 构造函数的可选参数