diff --git a/src/main/webapp/content/ems/ems.jsp b/src/main/webapp/content/ems/ems.jsp
index ac8ad94..f56d01d 100644
--- a/src/main/webapp/content/ems/ems.jsp
+++ b/src/main/webapp/content/ems/ems.jsp
@@ -520,10 +520,11 @@
-
+
<%--
+
--%>
<%--
diff --git a/src/main/webapp/content/ems/ems.jsp b/src/main/webapp/content/ems/ems.jsp
index ac8ad94..f56d01d 100644
--- a/src/main/webapp/content/ems/ems.jsp
+++ b/src/main/webapp/content/ems/ems.jsp
@@ -520,10 +520,11 @@
-
+
<%--
+
--%>
<%--
diff --git a/src/main/webapp/content/marker/marker-info-list.jsp b/src/main/webapp/content/marker/marker-info-list.jsp
index aee7c62..dc0f1dc 100644
--- a/src/main/webapp/content/marker/marker-info-list.jsp
+++ b/src/main/webapp/content/marker/marker-info-list.jsp
@@ -1 +1 @@
-<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglibs.jsp" %>
<%pageContext.setAttribute("currentMenu", "markerManagerMenu");%>
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
+<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglibs.jsp" %>
<%pageContext.setAttribute("currentMenu", "markerManagerMenu");%>
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
diff --git a/src/main/webapp/content/ems/ems.jsp b/src/main/webapp/content/ems/ems.jsp
index ac8ad94..f56d01d 100644
--- a/src/main/webapp/content/ems/ems.jsp
+++ b/src/main/webapp/content/ems/ems.jsp
@@ -520,10 +520,11 @@
-
+
<%--
+
--%>
<%--
diff --git a/src/main/webapp/content/marker/marker-info-list.jsp b/src/main/webapp/content/marker/marker-info-list.jsp
index aee7c62..dc0f1dc 100644
--- a/src/main/webapp/content/marker/marker-info-list.jsp
+++ b/src/main/webapp/content/marker/marker-info-list.jsp
@@ -1 +1 @@
-<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglibs.jsp" %>
<%pageContext.setAttribute("currentMenu", "markerManagerMenu");%>
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
+<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglibs.jsp" %>
<%pageContext.setAttribute("currentMenu", "markerManagerMenu");%>
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
diff --git a/src/main/webapp/s/app/ems/ems-gd.js b/src/main/webapp/s/app/ems/ems-gd.js
index 8875ae8..09592ee 100644
--- a/src/main/webapp/s/app/ems/ems-gd.js
+++ b/src/main/webapp/s/app/ems/ems-gd.js
@@ -12,41 +12,37 @@
var vectorMarkers = [];
var markerData = [];
var hadRequest = false;
+ var viewMarkers = []; //视域范围内的点
- var blueIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/0.png'
- });
-
- var orangeIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/1.png'
- });
-
- var redIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/2.png'
- });
-
- var blackIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/3.png'
- });
-
- var pinkIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/4.png'
- });
-
- var yellowIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/5.png'
- });
-
- var greenIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/6.png'
- });
+ var style = [{
+ url: $('#context').val() + '/images/drop/0.png', // 蓝色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/1.png', // 橙色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/2.png', // 红色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/3.png', // 黑色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/4.png', // 粉色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/5.png', // 黄色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/6.png', // 绿色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }];
var handleDatePickers = function () {
@@ -97,6 +93,46 @@
}
+ // 处理鼠标单击事件
+ function processClickInfo(emsBean){
+ var msg = "";
+ if (emsBean.recordType == 1) {
+ msg = msg + "管线种类:" + emsBean.markerObjectType + "
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
+<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglibs.jsp" %>
<%pageContext.setAttribute("currentMenu", "markerManagerMenu");%>
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
diff --git a/src/main/webapp/s/app/ems/ems-gd.js b/src/main/webapp/s/app/ems/ems-gd.js
index 8875ae8..09592ee 100644
--- a/src/main/webapp/s/app/ems/ems-gd.js
+++ b/src/main/webapp/s/app/ems/ems-gd.js
@@ -12,41 +12,37 @@
var vectorMarkers = [];
var markerData = [];
var hadRequest = false;
+ var viewMarkers = []; //视域范围内的点
- var blueIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/0.png'
- });
-
- var orangeIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/1.png'
- });
-
- var redIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/2.png'
- });
-
- var blackIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/3.png'
- });
-
- var pinkIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/4.png'
- });
-
- var yellowIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/5.png'
- });
-
- var greenIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/6.png'
- });
+ var style = [{
+ url: $('#context').val() + '/images/drop/0.png', // 蓝色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/1.png', // 橙色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/2.png', // 红色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/3.png', // 黑色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/4.png', // 粉色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/5.png', // 黄色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/6.png', // 绿色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }];
var handleDatePickers = function () {
@@ -97,6 +93,46 @@
}
+ // 处理鼠标单击事件
+ function processClickInfo(emsBean){
+ var msg = "";
+ if (emsBean.recordType == 1) {
+ msg = msg + "管线种类:" + emsBean.markerObjectType + "
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
+<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglibs.jsp" %>
<%pageContext.setAttribute("currentMenu", "markerManagerMenu");%>
<%@include file="/common/layout/menu_new.jsp" %>
<%--<%@include file="/common/layout/second-menu-auth.jsp" %>--%>
<%----%>
<%----%>
<%--id | --%>
<%--标识器编号 | --%>
<%--标识器名称 | --%>
<%--区域 | --%>
<%--线路 | --%>
<%--类型 | --%>
<%--埋深 | --%>
<%--里程1 | --%>
<%--里程2 | --%>
<%--安装时间 | --%>
<%--安装人员 | --%>
<%--备注 | --%>
<%--编辑 | --%>
<%--删除 | --%>
<%--
--%>
<%----%>
<%@include file="/common/layout/footer.jsp" %>
<%----%>
<%----%>
\ No newline at end of file
diff --git a/src/main/webapp/s/app/ems/ems-gd.js b/src/main/webapp/s/app/ems/ems-gd.js
index 8875ae8..09592ee 100644
--- a/src/main/webapp/s/app/ems/ems-gd.js
+++ b/src/main/webapp/s/app/ems/ems-gd.js
@@ -12,41 +12,37 @@
var vectorMarkers = [];
var markerData = [];
var hadRequest = false;
+ var viewMarkers = []; //视域范围内的点
- var blueIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/0.png'
- });
-
- var orangeIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/1.png'
- });
-
- var redIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/2.png'
- });
-
- var blackIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/3.png'
- });
-
- var pinkIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/4.png'
- });
-
- var yellowIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/5.png'
- });
-
- var greenIcon = new AMap.Icon({
- size: new AMap.Size(25, 34),
- image: $('#context').val() + '/images/drop/6.png'
- });
+ var style = [{
+ url: $('#context').val() + '/images/drop/0.png', // 蓝色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/1.png', // 橙色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/2.png', // 红色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/3.png', // 黑色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/4.png', // 粉色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/5.png', // 黄色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }, {
+ url: $('#context').val() + '/images/drop/6.png', // 绿色图标地址
+ anchor: new AMap.Pixel(15, 20), // 图标显示位置偏移量,基准点为图标左上角
+ size: new AMap.Size(15, 20) // 图标大小
+ }];
var handleDatePickers = function () {
@@ -97,6 +93,46 @@
}
+ // 处理鼠标单击事件
+ function processClickInfo(emsBean){
+ var msg = "";
+ if (emsBean.recordType == 1) {
+ msg = msg + "管线种类:" + emsBean.markerObjectType + "