Class Server

Constructors

  • opts中必须指定apiBasePath token、apiKey、loginName和password三者必须指定一个。如果三者都未指定,会尝试从wsdk中获取token及delegateOrgId信息,

    Parameters

    Returns Server

Methods

  • Returns object

  • Parameters

    • module: string
    • OptionalnewOpts: any

    Returns Logger

  • 远程坐标系转本地

    Parameters

    • data: any

      经纬度数据 | geojson

    Returns any

  • Parameters

    • data: any

      GeoJson数据

    • fromCRS: any

      可取:'WGS84', 'GCJ02', 'BD09', 'CGCS2000'

    • toCRS: any

      可取: 'WGS84', 'GCJ02', 'BD09', 'CGCS2000'

    Returns any

  • 本地坐标系统转远程

    Parameters

    • data: any

      经纬度数据 | geojson

    Returns any

  • Returns boolean