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