js配置示例

var trafCfg = {
    'beijing': {
        "point": {
            "x": 116.403856,
            "y": 39.914882
        },
        "level": 12,
        "cityName": "beijing",
        "titleName": "北京"
        ,"shareUrl":pathStr+ "beijing"
        ,"pre":1
    },
    'shanghai': {
        "point": {
            "x": 121.487899,
            "y": 31.249162
        }
        ,"level": 12
        ,"cityName": "shanghai"
        ,"titleName": "上海"
        ,"shareUrl": pathStr+"shanghai"
        ,"pre":1
    }
}

 

posted on 2013-06-03 18:11  yun007  阅读(208)  评论(0编辑  收藏  举报