@using GBLab.Common.Expand;
@using System.Text;
@{
    Layout = "~/Views/School_Pre/Shared/_Layout.cshtml";
    var CmsConfig = ViewData["CmsConfig"] as GBLab.Entities.Config.CmsConfig;
    string baidu = CmsConfig.Site_Baidu.DefaultIsNullOrEmpty("");
    string jd = "118.144208";
    string wd = "24.486084";
    if (baidu != "" && baidu.IndexOf(",") >= 0) {
        string[] mappath = baidu.Split(',');
        jd = mappath[0];
        wd = mappath[1];
    }
}
@section HeadStyle{
}
@section JavaScript{
    <script src="http://api.map.baidu.com/api?v=2.0&ak=6PYkS1eDz5pMnyfO0jvBNE0F"></script>
    <script src="http://api.map.baidu.com/library/Heatmap/2.0/src/Heatmap_min.js"></script>
    <script>
        seajs.use(
            [
                @* 全局配置 *@
                , "/Resource/Extend/helper/plus/plus_baidumap.js?v="
            ]
            , function (main) {
                var Item = new gblab_baidumap.func();
                Item.config.id = 'map';
                Item.config.ischangecity = false;
                Item.config.lng = '@(jd)';
                Item.config.lat = '@(wd)';
                Item.config.title = '@(CmsConfig.Site_Name)';
                Item.config.info = '@(CmsConfig.Site_Contract_Address)';
                Item.init();
            }
        );
    </script>
}
@{Html.RenderPartial("~/Views/School_Pre/Shared/_Part/_HeaderAd.cshtml");}
<div class="col-md-12 headmenu">
    <ol class="breadcrumb">
        <li><a href="/default.html">首页</a></li>
        <li><a href="#this">学校坐标</a></li>
    </ol>
</div>
<div class="box">
    <div id="newslist" class="col-md-12 .col-sm-12 .col-xs-12">
        <div class="head bs-info">学校坐标</div>
        <div id="map" class="hirelist col-xs-12 col-md-12" style="height:500px;">
        </div>
    </div>
</div>