Options
All
  • Public
  • Public/Protected
  • All
Menu

中国行政区域的图层边界显示

Hierarchy

Index

Constructors

constructor

Properties

adcode

adcode: string[]

需要显示的地区编码,可以:省、市、区同时存在

city_stroke

city_stroke: string = "red"

城市界的边框颜色

county_stroke

county_stroke: string = "red"

区/县界的边框颜色

depth

depth: number = 2

设定数据的层级深度,depth为0的时候只显示国家面,depth为1的时候显示省级, 当国家为中国时设置depth为2的可以显示市一级

fill

fill: string = "red"

填充色

hideLoading

hideLoading: () => void = ...

Type declaration

    • (): void
    • Returns void

onChange

onChange: () => void = ...

Type declaration

    • (): void
    • Returns void

province_stroke

province_stroke: string = "red"

省边界的边框颜色

showLoading

showLoading: (message?: string) => void = ...

Type declaration

    • (message?: string): void
    • Parameters

      • Optional message: string

      Returns void

title

title: string = "中国城市边界图层"

type

type: string = ...

zIndex

zIndex: number

层级

Methods

notifyChange

  • notifyChange(): void

toResultInfo

  • toResultInfo(): string

Static newParam