From 44d6729d22a4cb40ee64197d370909a5d6c42af1 Mon Sep 17 00:00:00 2001 From: Rafael Hengen Ribeiro Date: Fri, 30 Aug 2019 12:27:35 -0300 Subject: [PATCH] Fix zoom control issue --- modules/topology/assets/viewer/map/meican-lmap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/topology/assets/viewer/map/meican-lmap.js b/modules/topology/assets/viewer/map/meican-lmap.js index ad196c784..4782ba6d7 100644 --- a/modules/topology/assets/viewer/map/meican-lmap.js +++ b/modules/topology/assets/viewer/map/meican-lmap.js @@ -488,7 +488,9 @@ LMap.prototype.setNodeType = function(type) { } LMap.prototype.build = function(mapDiv) { - this._map = L.map(mapDiv); + this._map = L.map(mapDiv, { + zoomControl: false + }); this.setInitialMapPosition();