@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>
        seajs.use(
            [
                  "/App_Themes/Skin_Manage/Extend/helper/global/global_config.js?v=@(ViewBag.Version)"
                , "/App_Themes/Skin_Manage/Extend/helper/plus/plus_baidumap.js?v=@(ViewBag.Version)"
            ]
            , function (main) {
                var Item = new gblab_baidumap.func();
                Item.config.id = 'map';
                //Item.config.ischangecity = true;
                Item.config.ismark = true;
                Item.config.ismarklist = true;
                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="@(Url.Domain_RouteUrl("Site.Default",new { }))">首页</a></li>
        <li><a href="@(Url.Domain_RouteUrl("Site.BaiduMap",new { }))">学校地图坐标</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>