export declare class TslMapClassClient {
  /**
   * [点]
   * {[Number]} x   [x坐标]
   * {[Number]} y   [y坐标]
   * {[Number]} id   [id]
   * {[MapPointStyle]} style [样式]
   */
  public static MapPoint(x: number, y: number, id: number, style: object);

  /**
   * [线]
   * {[Array]} path  [组成线的点集]
   * {[Number]} id   [id]
   * {[MapLineStyle]} style [样式]
   */
  public static MapPolyline(path: [number], id: string, style: object);
  /**
   * [面]
   * {[Array]} path     [组成面的点集]
   * {[Number]} id      [id]
   * {[MapPolygonStyle]} style [样式]
   */
  public static MapPolygon(path: [], id: number, style: object);
  /**
   * [点样式]
   * {[Number]} width   [点宽]
   * {[Number]} height   [点高]
   * {[string]} baseUrl   [图片url] Esri使用require到的图片地址或url，高德或天地图不需要
   * {[Number]} xOffset [x偏移]
   * {[Number]} yOffset [y偏移]
   * {[Number]} angle   [角度]
   * {[String]} icon   高德或天地图需要 icon对应的类名
   */
  public static MapPointStyle(
    width: number,
    height: number,
    baseUrl: string,
    xOffset: number,
    yOffset: number,
    angle: number,
    icon: string
  );
  /**
   * [线样式]
   * {[String]} color         [颜色]
   * {[Number]} width         [宽度]
   * {[Number]} opacity      [透明度]
   * {[MapLineType]} lineType [线类型]
   */
  public static MapLineStyle(
    color: string,
    width: number,
    opacity: number,
    lineType: string
  );
  /**
   * [面样式]
   * {[String]} fillcolor       [填充颜色]
   * {[String]} strokeColor     [边线颜色]
   * {[Number]} strokeWeight    [边线宽]
   * {[Number]} strokeOpacity   [边线透明度]
   * {[Number]} fillOpacity     [填充透明度]
   * {[MapLineType]} strokeType [边线样式（Solid/Dashed）]
   */
  public static MapPolygonStyle(
    fillColor: string,
    strokeColor: string,
    strokeWeight: number,
    strokeOpacity: number,
    fillOpacity: number,
    strokeType: string
  );

  /**
   * [覆盖物图层]
   * {[String]} name [图层名称]
   * {[]}  layer  [几何要素集合]
   * {[Boolean]}  visible [是否可见]
   */
  public static MapOverLayer(name: string, layer: [], visible: boolean);
  /**
   * [地图范围]
   * {[Number]} xmin [x坐标最小值]
   * {[Number]} ymin  [y坐标最小值]
   * {[Number]} xmax [x坐标最大值]
   * {[Number]} ymax [y坐标最大值]
   */
  public static MapExtent(
    xmin: number,
    ymin: number,
    xmax: number,
    ymax: number
  );
  /**
   * [地图初始化类]
   *  {[String]} container  [地图容器]
   *  {[String]} basemapurl [ESRI不可省略]
   *  {[MapExtent]} extent    [地图显示范围 required]
   *  {[Number]} minzoom    [地图最小缩放范围]
   *  {[Number]} maxzoom    [地图最大缩放范围]
   *  属性：map [地图]   layers [所有覆盖物图层] mapoverlayer
   *  layerDatas [{layername: 'parking', data: geoObj}]
   */
  public static Map(
    container: string,
    basemapurl: string,
    extent: object,
    minzoom: number,
    maxzoom: number
  );
}
