Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

AnimationName

AnimationName: "AMAP_ANIMATION_NONE" | "AMAP_ANIMATION_DROP" | "AMAP_ANIMATION_BOUNCE"

Event

Event<N, V>: { type: N } & V extends HTMLElement ? { value: V } : V extends object ? V : V extends undefined ? {} : { value: V }

Type parameters

  • N: string = string

  • V = undefined

Lang

Lang: "zh_cn" | "en" | "zh_en"

LocationValue

LocationValue: LngLat | [number, number]

MapsEvent

MapsEvent<N, I>: Event<N, { lnglat: LngLat; pixel: Pixel; target: I }>

Type parameters

  • N: string

  • I

Merge

Merge<O, T>: {[ K in Exclude<keyof O, keyof T | OptionalKey<O>>]: O[K] } & {[ K in Extract<Exclude<keyof O, keyof T>, OptionalKey<O>>]: O[K] } & T

Type parameters

  • O

  • T

Omit

Omit<T, E>: {[ K in Exclude<keyof T, E>]: T[K] }

Type parameters

  • T

  • E: keyof T

OptionalKey

OptionalKey<T>: {[ K in keyof T]: undefined extends T[K] ? K : never }[keyof T]

Type parameters

  • T

SizeValue

SizeValue: Size | [number, number]

StrokeLineCap

StrokeLineCap: "butt" | "round" | "square"

StrokeLineJoin

StrokeLineJoin: "miter" | "round" | "bevel"

StrokeStyle

StrokeStyle: "dashed" | "solid"

Functions

convertFrom

  • 为坐标转换类,支持将其他坐标系的坐标点转换为高德坐标系。

    Parameters

    Returns void

plugin

  • plugin(plugin: string | string[], callback: () => void): typeof AMap
  • 加载插件,

    Parameters

    • plugin: string | string[]
    • callback: () => void

      插件加载完成后的回调函数

        • (): void
        • Returns void

    Returns typeof AMap

service

  • service(plugin: string | string[], callback: () => void): typeof AMap
  • 加载插件,

    Parameters

    • plugin: string | string[]
    • callback: () => void

      插件加载完成后的回调函数

        • (): void
        • Returns void

    Returns typeof AMap

Generated using TypeDoc