From b619243a169093db0c3df4111a28dcb2d639e77e Mon Sep 17 00:00:00 2001
From: qinbo <qinbo@shsening.com>
Date: 星期二, 16 十一月 2021 20:19:17 +0800
Subject: [PATCH] Merge branch 'master' of http://www.shsening.com:10000/r/template/shanghai

---
 js/function.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/js/function.js b/js/function.js
index 2c1e929..b922aa9 100644
--- a/js/function.js
+++ b/js/function.js
@@ -69,6 +69,9 @@
 function initLayersByUserid() {
 
   //addMaskShanghai();
+  let d_context_menu = map.getDefaultContextMenu();
+  map.bindContextMenu(d_context_menu.slice(0,3).concat(d_context_menu.slice(6,8)));
+
   addTDTAnnoLayer();
   addHighlightLayerClearButton();
   addTmpHighlightGraphicLayer();

--
Gitblit v1.9.1