This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Convert longitude and latitude from standard WGS-84 system | |
| * to Baidu's BD-09 | |
| * | |
| * @see http://stackoverflow.com/a/29512814/718811 for a detailed | |
| * description of the problem. | |
| * | |
| * @param float lng Longitude | |
| * @param float lat Latitude | |
| * @return object Converted coords |