日期:2014-05-17  浏览次数:20433 次

高手请指导一下在SOSO地图处添加多个自定义标记--就70分了都给了--急急急!!!
asp.net 添加SOSO地图,在地图上添加多个自定义标记,点标记后显示具体信息
就象链接上的就行(颜色无所为)本人脚本不太精,搞了好几天了,最好给段代码,跪谢了!!!!
由于图片传不上来所以只能给地址了  http://map.soufun.com/house/sy/
求求各位帮个忙吧!!!!
SOSO地图?自定义标记 SOSO地图 自定义标记

------解决方案--------------------
昨天不是回复你了吗?

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SOSOMap</title>
<style type="text/css">
*{
    margin:0px;
    padding:0px;
}
body, button, input, select, textarea {
    font: 12px/16px Verdana, Helvetica, Arial, sans-serif;
}
#info {
    margin-top: 10px;
}
</style>
<script charset="utf-8" src="http://api.map.soso.com/v1.0/main.js"></script>

<script>
    var init = function () {
        var center = new soso.maps.LatLng(41.804363, 123.434025);
        var map = new soso.maps.Map(document.getElementById('container'), {
            center: center,
            zoomLevel: 13
        });
        var infoWin = new soso.maps.InfoWindow({
            map: map
        });
        var infoWin2 = new soso.maps.InfoWindow({
            map: map
        });
        var infoWin3 = new soso.maps.InfoWindow({
            map: map
        });
        var latlngs =
    [
        new soso.maps.LatLng(41.818263, 123.436471),
        new soso.maps.LatLng(41.808109, 123.505062),
        new soso.maps.LatLng(41.765456, 123.229978),
        new soso.ma