From a1b2ea8b8f7ca157ddc8c62df1d762e5a7547c28 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 19 May 2021 22:49:08 +0800
Subject: [PATCH] 地图修改
---
public/map/widgets/equipment/ClientManagement.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/map/widgets/equipment/ClientManagement.js b/public/map/widgets/equipment/ClientManagement.js
index f1a7a86..c3bdc52 100644
--- a/public/map/widgets/equipment/ClientManagement.js
+++ b/public/map/widgets/equipment/ClientManagement.js
@@ -162,7 +162,7 @@
open: function () {
var that = this;
$.ajax({
- url: '/api/blade-jfpts/equipment/equipment/pages?current=1&size=1000',
+ url: '/api/blade-jfpts/alarm/alarm/listAll?',
type: 'get',
dataType: 'JSON',
success: function (data) {
@@ -218,7 +218,7 @@
});
//set up a class breaks renderer to render different symbols based on the cluster count. Use the required clusterCount property to break on.
- var defaultSym = new PictureMarkerSymbol("./images/jingbaored.png", 33, 48).setOffset(0, 15);
+ var defaultSym = new PictureMarkerSymbol("./images/selfbaojin2.gif", 33, 48).setOffset(0, 15);
var renderer = new ClassBreaksRenderer(defaultSym, "clusterCount");
var xlSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 32, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new dojo.Color([200, 52, 59, 0.8]), 1), new dojo.Color([250, 65, 74, 0.8]));
var lgSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 28, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new dojo.Color([41, 163, 41, 0.8]), 1), new dojo.Color([51, 204, 51, 0.8]));
--
Gitblit v1.9.3