# BaiduProject

MapGIS/Project/BaiduProject.js 157
百度坐标投影变换

### Members

#### isWgs84 : Ellipsoid
MapGIS/Project/BaiduProject.js 168

获取是否是wgs84椭球

### Methods

#### convertLL2MC(point)
MapGIS/Project/BaiduProject.js 264

The latitude and longitude coordinates are converted to plane cartesian coordinates

Name | Type | Description
--- | --- | ---
`point` |  |

#### convertMC2LL(point)
MapGIS/Project/BaiduProject.js 226

The plane cartesian coordinates are converted to latitude and longitude coordinates

Name | Type | Description
--- | --- | ---
`point` |  |

#### convertor(fromPoint, factor)
MapGIS/Project/BaiduProject.js 315

Name | Type | Description
--- | --- | ---
`fromPoint` |  |
`factor` |  |

#### getDistance(x1, x2, y1, y2)
MapGIS/Project/BaiduProject.js 344

Name | Type | Description
--- | --- | ---
`x1` |  |
`x2` |  |
`y1` |  |
`y2` |  |

#### getDistanceByLL(point1, point2)
MapGIS/Project/BaiduProject.js 207

Calculate the distance between two points according to the latitude and longitude coordinates

Name | Type | Description
--- | --- | ---
`point1` |  |
`point2` |  |

#### getDistanceByMC(point1, point2)
MapGIS/Project/BaiduProject.js 183

Name | Type | Description
--- | --- | ---
`point1` |  |
`point2` |  |

#### getLoop(v, a, b)
MapGIS/Project/BaiduProject.js 386

Name | Type | Description
--- | --- | ---
`v` |  |
`a` |  |
`b` |  |

#### getRange(v, a, b)
MapGIS/Project/BaiduProject.js 370

Name | Type | Description
--- | --- | ---
`v` |  |
`a` |  |
`b` |  |

#### getZoomUnits(zoom)
MapGIS/Project/BaiduProject.js 473

Name | Type | Description
--- | --- | ---
`zoom` |  |

#### lngLatToMercator(point)
MapGIS/Project/BaiduProject.js 400

Name | Type | Description
--- | --- | ---
`point` |  |

#### lngLatToPoint(point)
MapGIS/Project/BaiduProject.js 408

Name | Type | Description
--- | --- | ---
`point` |  |

#### mercatorToLngLat(point)
MapGIS/Project/BaiduProject.js 420

WebMercator transforms to latitude and longitude

Name | Type | Description
--- | --- | ---
`point` |  |

#### pixelToPoint(pixel, zoom, mapCenter, mapSize)
MapGIS/Project/BaiduProject.js 458

Pixel coordinates transforms to latitude and longitude coordinates

Name | Type | Description
--- | --- | ---
`pixel` |  |
`zoom` |  |
`mapCenter` |  |
`mapSize` |  |

#### pointToLngLat(point)
MapGIS/Project/BaiduProject.js 428

Name | Type | Description
--- | --- | ---
`point` |  |

#### pointToPixel(point, zoom, mapCenter, mapSize)
MapGIS/Project/BaiduProject.js 440

Latitude and longitude coordinates transforms to pixel coordinates

Name | Type | Description
--- | --- | ---
`point` |  |
`zoom` |  |
`mapCenter` |  |
`mapSize` |  |

#### toDegrees(rad)
MapGIS/Project/BaiduProject.js 360

Name | Type | Description
--- | --- | ---
`rad` |  |

#### toRadians(deg)
MapGIS/Project/BaiduProject.js 352

Name | Type | Description
--- | --- | ---
`deg` |  |