1
进入百度地图API
在“地图示例” 就有gps坐标转换百度坐标的例子。
![真实经纬度(gps)转成百度坐标的js方法 - chy2z - 黑暗行动 真实经纬度(gps)转成百度坐标的js方法 - chy2z - 黑暗行动](http://img1.ph.126.net/aG-YLTbf_Dga_nD4ncL95Q==/6597281972402256241.jpg)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
body, html,#allmap {width: 100%;height: 100%;overflow: hidde
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
body, html,#allmap {width: 100%;height: 100%;overflow: hidde