目录

HWMapUtils

Overview

Converts the Mercator 3857 longitude and latitude into the WGS84 longitude and latitude, and vice versa.

Constructor

Constructor

Description

HWMapJsSDK.HWMapUtils

Converts the longitude and latitude.

Methods

Method

Description

Type

Return Value

epsgFromLatLng(latLng)

Converts the WGS84 longitude and latitude into the Mercator 3857 longitude and latitude.

{lng: Number, lat: Number}

[lng, lat]

epsgToLatLng(coordinate)

Converts the Mercator 3857 longitude and latitude into the WGS84 longitude and latitude.

[lng, lat]

{lng: Number, lat: Number}