初始提交

This commit is contained in:
2025-09-04 16:35:14 +08:00
commit 5cd52c4d2c
735 changed files with 155784 additions and 0 deletions

View File

@ -0,0 +1,132 @@
/*
|------------------------------------------------------------------------------
| EzMapAPI.js
|
|@author: qianleyi
|@date: 2015-11-27
|@descript: 基础地图初始化配置设置
|------------------------------------------------------------------------------
*/
//需要配置客户端ezserverclient服务地址
//var serviceUrl='http://172.18.116.167:8089/dist';
var serviceUrl = 'http://www.pgis.sc/EzServerClientV8';
var ezMap = {
/**
* 二维数组:可以插入多个图层对象
* 参数说明:[]表示图层组,数组中[i][0]表示图层名,[i][1]表示图层的URL,[i][2]表示图层的参数设置
* 参数类型Array
* 取值范围:无限制
* 默认值:无
*/
MapSrcURL: [
/** 最上层图层 */
//-------------------------------------
//Geog2010 格式模板
// ["公司2010格式地图(大地坐标投影)", "http://172.25.18.16:8081/EzServer7/Maps/Blue", {
// crs: '4326',
// imageSRC: '../images/shiliang.png',
// token:'042b53ff99f44acda0f7e667cf03a95b'
// }],
//-------------------------------------
//GeogTdt 格式模板
// ["天地图格式(大地坐标投影)", "http://172.18.68.248:8080/Server7/Maps/D_441900DG", {
// crs: '4326',
// wrapX: false,
// imageSRC: 'http://172.18.71.80:8080/images/shiliang.png',
// key: 'text'
// }],
["SL", "http://t3.tianditu.gov.cn/DataServer?T=vec_c&tk=cefabab8748698548c1eb238d4dd0c16&x={x}&y={y}&l={z}", {
crs: '4326',
imageSRC: 'http://www.pgis.sc/EzServerClientV8/images/shiliang.png',
token: '042b53ff99f44acda0f7e667cf03a95b'
}]
],
/**
* 参数说明:设置地图初始化中心位置
* 参数类型Array<Float,Float>
* 取值范围:无限制
* 默认值:无
*/
CenterPoint: [104.75425466, 31.45795226],
/**
* 参数说明:设置全图显示时地图显示范围
* 参数类型:[minx,miny,maxx,maxy]
* 取值范围:无限制
* 默认值:无
*/
MapFullExtent: undefined,
//MapFullExtent: [99.60617,24.96368,100.746,26.1914],
/**
* 参数说明:设置地图初始显示级别
* 参数类型Int
* 取值范围:无限制
* 默认值:无
*/
MapInitLevel: 1,
//MapInitLevel: 12,
/**
* 参数说明:设置地图显示的最大级别
* 参数类型Int
* 取值范围:无限制
* 默认值:无
*/
MapMaxLevel: 20,
/**
* 参数说明:设置地图显示的最小级别
* 参数类型Int
* 取值范围:无限制
* 默认值:无
*/
MapMinLevel: 1,
/**
* 参数说明是否添加地图级别控制条hover样式
* 参数类型Boolean
* 取值范围:无限制
* 默认值:无
*/
isTitleArea: true,
/**
* 参数说明Animation 瓦片是否提前加载
* 参数类型Boolean
* 取值范围:无限制
* 默认值false
*/
loadTilesWhileAnimating: false
};
(function (ezMap) {
var scriptName = "EzMapAPI\\.js";
var keyWord = "key";
(function (ezMap) {
var isOL = new RegExp("(^|(.*?\\/))(" + scriptName + ")(\\?|$)");
var scripts = document.getElementsByTagName('script');
for (var i = 0, len = scripts.length; i < len; i++) {
var src = scripts[i].getAttribute('src');
if (src) {
var match = src.match(isOL);
if (match) {
var key = src.indexOf(keyWord + "=");
if (key == -1) {
break;
}
var get_par = src.slice(keyWord.length + key + 1);
var nextPar = get_par.indexOf("&");
if (nextPar != -1) {
get_par = get_par.slice(0, nextPar);
}
ezMap.AuthorKey = get_par;
break;
}
}
}
})(ezMap);
})(ezMap);

File diff suppressed because one or more lines are too long

54260
public/EzMapFile/EzServerClient.min.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,56 @@
.ez-popup {
display: none;
min-width: 170px;
max-width: 200px;
position: relative;
background: #FFFFFF;
border: 1px solid #FFFFFF;
border-radius: 5px;
-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
padding: 10px;
}
.ez-popup:after,
.ez-popup:before {
top: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.ez-popup:after {
border-color: rgba(255, 255, 255, 0);
border-top-color: #FFFFFF;
border-width: 10px;
margin-left: -10px;
}
.ez-popup:before {
border-color: rgba(255, 255, 255, 0);
border-top-color: #FFFFFF;
border-width: 10px;
margin-left: -10px;
}
.ez-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
}
.ez-popup-closer:after {
content: "✖";
}
.ez-popup-content {
text-align: center;
font-family: , ;
font-size: 15px;
line-height: 15px;
}