Post the code directly. You can create an html file locally and run it directly: Copy the code The code is as follows: Map <BR><script> <BR>function init() { <BR>var center = new soso.maps.LatLng(31.15953,121.516035); <BR>var map = new soso.maps. Map( <BR>document.getElementById("container"), <BR>{ <BR>center: center,//Display the center position of the map<BR>zoom: 15//Display the zoom level of the map<BR>} <BR>); <br><br>//Coordinates of the first mark on the map<BR>var position1 = new soso.maps.LatLng(31.15751,121.514061); <br><br>var marker = new soso.maps .Marker({ <BR>position: position1, <BR>map: map <BR>}); <br><br>//Coordinates of the second mark on the map<BR>var position2 = new soso.maps.LatLng (31.160705,121.524017); <br><br>var marker = new soso.maps.Marker({ <BR>position: position2, <BR>map: map <BR>}); <br><br>} <BR>function loadScript() { <BR>var script = document.createElement("script"); <BR>script.type = "text/javascript"; <BR>script.src = "http://map.soso .com/api/v2/main.js?callback=init"; <BR>document.body.appendChild(script); <BR>} <BR>window.onload = loadScript; <BR> > ;