page-map.start.component.d.ts 859 B

12345678910111213141516171819202122232425262728
  1. import { AfterViewInit } from '@angular/core';
  2. import * as i0 from "@angular/core";
  3. interface MapPlace {
  4. name: string;
  5. location: Array<number>;
  6. marker?: any;
  7. }
  8. export declare class PageMapStartComponent implements AfterViewInit {
  9. AMap: any;
  10. map: any;
  11. placeList: Array<MapPlace>;
  12. ngAfterViewInit(): void;
  13. initMap(): Promise<void>;
  14. createMap(): Promise<void>;
  15. /**
  16. * 添加点标记 Marker
  17. */
  18. addMarks(): Promise<void>;
  19. goAndMarkPlace(place: any): void;
  20. clearMark(place: any): void;
  21. /**
  22. * 路线规划 地点1 => 地点2
  23. */
  24. planRoute(p1: any, p2: any): void;
  25. static ɵfac: i0.ɵɵFactoryDeclaration<PageMapStartComponent, never>;
  26. static ɵcmp: i0.ɵɵComponentDeclaration<PageMapStartComponent, "app-page-map.start", never, {}, {}, never, never, false, never>;
  27. }
  28. export {};