Call baidu map coordinate transformation method, BMap Convertor. Translate (gpsPoint, 0, showPosition); Gpspoint have value, but the transformed coordinates is NAN, the code is as follows: each great god please help!
& lt; ! DOCTYPE html>
<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
<meta name="viewport" content="initial - scale=1.0, user - scalable=no"/& gt;
<style type="text/CSS" & gt;
Body, HTML, # allmap {width: 100%; height: 100%; overflow: hidden; margin:0; }
# golist {display: none; }
@ media (Max - device - width: 780 px) {# golist {display: block! important; }}
</style>
Test & lt;/title>
<body>