if(!window.DC) window.DC = {}; DC.Cfg = {}; //网站绝对路径,例如:http://localhost/Map/ //DC.Cfg.siteUrl = "/"; //DC.Cfg.siteUrl = "/"; DC.Cfg.siteUrl="http://"+window.location.host+"/"; //DC.Cfg.siteUrl="http://www.mapjs.com.cn/"; //cty = ""; cty = DC.Cfg.cty; //网站前缀 DC.Cfg.ScenarioSite=DC.Cfg.siteUrl; //坐标定位 DC.Cfg.City={ name:'南京市', lon:118.771959421514, lat:32.0663089662135, zoom:11 } //added by on 20101228 //鹰眼服务 DC.Cfg.overviewURL="http://114.255.197.183/services/A0512_EMap"; DC.Cfg.overviewtopLevel=2; DC.Cfg.overviewbottomLevel=10; DC.Cfg.overviewminx=-180; DC.Cfg.overviewminy=-90; DC.Cfg.overviewmaxx=180; DC.Cfg.overviewmaxy=90; //拉框查询wfs服务地址 DC.Cfg.boxQueryURL="http://10.3.9.210:7009/wfsg_dm/wfs"; //行政区域表的查询 DC.Cfg.lRegionQueryURL="http://172.17.0.91:7020/region/wfs" //兴趣数据表的查询地址 DC.Cfg.lPOIURL="http://10.3.9.210:7009/wfsg_dm/wfs"; //代理地址,用法:OpenLayers.ProxyHost = DC.Cfg.proxyUrl; DC.Cfg.proxyUrl = DC.Cfg.siteUrl+"proxyHandler?url=" ; //DC.Cfg.proxyUrl = "http://58.213.29.195/tianditu/proxyHandler?url="; //天地图城市定位服务地址 DC.Cfg.ChangCityUrl = "http://www.tianditu.com/query.shtml"; //标绘服务的请求地址 DC.Cfg.plotService=DC.Cfg.proxyUrl+"http://58.213.29.195:7012/mapplot"; DC.Cfg.plotUserID="jiangsu_enUser" //企业标注 DC.Cfg.enPlotService=DC.Cfg.proxyUrl+"http://58.213.29.195:7012/mapplot"; DC.Cfg.enPlotUserID="jiangsu_enUser" //纠错服务 DC.Cfg.wIService=DC.Cfg.proxyUrl+"http://www.mapjs.com.cn:7012/maperr"; DC.Cfg.wIUserID="jiangsu_wIUser";//纠错服务 用户Id //企业标注服务 DC.Cfg.companyService=DC.Cfg.proxyUrl+"http://www.mapjs.com.cn:7012/mapplot"; DC.Cfg.companyUserID="companymark";//企业标注 用户Id //默认方案路径 DC.Cfg.Scenariourl=DC.Cfg.siteUrl+"data/xml/userScenarioService.xml"; DC.Cfg.Query = {}; DC.Cfg.Query.maxFeatureNumber=100; DC.Cfg.Query.resultFeatureImgPath = DC.Cfg.siteUrl + "map/images/resultImg/"; DC.Cfg.Query.selectFeatureImgPath = DC.Cfg.siteUrl + "map/images/selectImg/"; //poi兴趣点要素查询服务地址 DC.Cfg.poiQueryUrl="http://58.213.29.194/serviceaccess/service/jspoi"; //poi兴趣点查询服务兴趣点查询 按关键字查询时匹配的字段 DC.Cfg.poiQueryField="geographicIdentifier"; DC.Cfg.poiClassQueryField="DL";//分类查询的大类查询 //poi兴趣点查询服务兴趣点查询 查询结果标题显示对应的字段 DC.Cfg.poiShowTitleField="geographicIdentifier"; DC.Cfg.poiShowBriefField="ADDRESS"; //poi兴趣点要素查询服务 要查询的图层 DC.Cfg.poiQueryFeatureType="iso19112:SI_LocationInstance"; //DC.Cfg.poiQueryFeatureType="iso19112:SI_Gazetteer"; //poi兴趣点排序字段 DC.Cfg.poiSortField="查询显示等级"; //poi浮云显示字段 DC.Cfg.poiPopupFields=[{codename:"geographicIdentifier",titleword:"名称"}, {codename:"DL",titleword:"类别"}, {codename:"ADDRESS",titleword:"地址"}, {codename:"TELEPHONE",titleword:"电话"}]; //驾车路线地址 DC.Cfg.routeSrvConf="http://www.tianditu.com/query.shtml"; //驾车路线POI查询 DC.Cfg.Query.placenameWfsurl = "http://58.213.29.194/serviceaccess/service/jspoi"; DC.Cfg.Query.placenameFeatureType = "iso19112:SI_LocationInstance"; //驾车路线兴趣点查询服务兴趣点查询 按关键字查询时匹配的字段 DC.Cfg.placeQueryField="geographicIdentifier"; //驾车路线兴趣点查询服务兴趣点查询 查询结果标题显示对应的字段 //DC.Cfg.placeShowTitleField="geographicIdentifier"; DC.Cfg.placeShowTitleField="geographicIdentifier"; DC.Cfg.placeShowBriefField="ADDRESS"; DC.Cfg.placePopupFields=[{codename:"NAME",titleword:"名称"},{codename:"ADDRESS",titleword:"类别"}]; DC.Cfg.placeSortField="geographicIdentifier"; //WPS请求地址 DC.Cfg.WpsServiceUrl=DC.Cfg.proxyUrl + "http://58.213.29.195:7012/wps/wps/Execute"; //以下是鼠标移动进行区域查询的配置 //行政区划边界服务地址 //DC.Cfg.RegionGeometryServceURL="http://10.2.29.6:7003/wfs_boua/wfs"; DC.Cfg.RegionGeometryServceURL="http://10.3.9.244:7001/wfs_region/wfs"; //行政区划边界服务字段 DC.Cfg.RegionGeometryWord="GJ_XIAN"; DC.Cfg.RegionWeatherCode=["PAC","PAC_SHI","PAC_SHENG"];//CODE代表县,RCODE代表市 DC.Cfg.RegionalWord=["NAME","NAME_SHI","NAME_SHENG"];//NAME代表县名,RNAME代表市名 //诚信所服务接口地址-------------start //用户登录地址 DC.Cfg.userLoginUrl="http://58.213.29.194/serviceaccess/system?cmd=login"; //验证用户名是否存在 DC.Cfg.userIsExist="http://58.213.29.194/serviceaccess/userrole?cmd=ExistUser"; //得到部门 DC.Cfg.GetDepart="http://58.213.29.194/serviceaccess/ServerLogAnalysis?cmd=GetDepart"; //用户注册 DC.Cfg.userRegisterUrl="http://58.213.29.194/serviceaccess/userrole?cmd=RegisterUser&service=SAVE"; //获取用户权限 DC.Cfg.userRuleUrl="http://58.213.29.194/serviceaccess/rulemanage"; //默认用户 DC.Cfg.defaultUser="tiandi_default"; //默认密码 DC.Cfg.defaultPass="123456"; //诚信所服务接口地址-------------end //资源中心 DC.Cfg.restUrl="http://www.mapjs.com.cn/resource/index.action"; //资源中心注销 DC.Cfg.restLoutUrl="http://www.mapjs.com.cn/resource/index.action"; //显示企业专题专题数据服务 DC.Cfg.EnterpriseService={ url:"http://58.213.29.194/serviceaccess/service/wfstest", featureType: "wfstest:wfs", queryField:"name", geometryName:"SHAPE", projection:"EPSG:6.9:4326", resultFeatureImg:DC.Cfg.siteUrl + "map/images/sign.png", selectFeatureImg:DC.Cfg.siteUrl + "map/images/sign.png", imgUrl:DC.Cfg.siteUrl +"data/topic/", nameField:"name", addressField:"address", descriptionField:"ms" }