12345678910111213141516171819202122232425262728 |
- import { AfterViewInit } from '@angular/core';
- import * as i0 from "@angular/core";
- interface MapPlace {
- name: string;
- location: Array<number>;
- marker?: any;
- }
- export declare class PageMapStartComponent implements AfterViewInit {
- AMap: any;
- map: any;
- placeList: Array<MapPlace>;
- ngAfterViewInit(): void;
- initMap(): Promise<void>;
- createMap(): Promise<void>;
- /**
- * 添加点标记 Marker
- */
- addMarks(): Promise<void>;
- goAndMarkPlace(place: any): void;
- clearMark(place: any): void;
- /**
- * 路线规划 地点1 => 地点2
- */
- planRoute(p1: any, p2: any): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<PageMapStartComponent, never>;
- static ɵcmp: i0.ɵɵComponentDeclaration<PageMapStartComponent, "app-page-map.start", never, {}, {}, never, never, false, never>;
- }
- export {};
|