diff --git a/pandora_console/images/maps/head_arrow_module_alertsfired.svg b/pandora_console/images/maps/head_arrow_module_alertsfired.svg new file mode 100644 index 0000000000..21dcc028ad --- /dev/null +++ b/pandora_console/images/maps/head_arrow_module_alertsfired.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/images/maps/head_arrow_module_critical.svg b/pandora_console/images/maps/head_arrow_module_critical.svg new file mode 100644 index 0000000000..b820184cf1 --- /dev/null +++ b/pandora_console/images/maps/head_arrow_module_critical.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/images/maps/head_arrow_module_no_data.svg b/pandora_console/images/maps/head_arrow_module_no_data.svg new file mode 100644 index 0000000000..3d1887a59b --- /dev/null +++ b/pandora_console/images/maps/head_arrow_module_no_data.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/images/maps/head_arrow_module_ok.svg b/pandora_console/images/maps/head_arrow_module_ok.svg new file mode 100644 index 0000000000..035ab1e08f --- /dev/null +++ b/pandora_console/images/maps/head_arrow_module_ok.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/images/maps/head_arrow_module_unknown.svg b/pandora_console/images/maps/head_arrow_module_unknown.svg new file mode 100644 index 0000000000..75461960af --- /dev/null +++ b/pandora_console/images/maps/head_arrow_module_unknown.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/images/maps/head_arrow_module_warning.svg b/pandora_console/images/maps/head_arrow_module_warning.svg new file mode 100644 index 0000000000..5971cf43e7 --- /dev/null +++ b/pandora_console/images/maps/head_arrow_module_warning.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/include/javascript/map/MapController.js b/pandora_console/include/javascript/map/MapController.js index 7d62a282fb..09153eabfb 100644 --- a/pandora_console/include/javascript/map/MapController.js +++ b/pandora_console/include/javascript/map/MapController.js @@ -507,6 +507,9 @@ MapController.prototype.paint_minimap = function() { var screen_size = d3.select(self._target).node().getBoundingClientRect(); var map_size = d3.select(self._target + " .viewport").node().getBBox(); + var real_width = map_size.width + map_size.x; + var real_height = map_size.height + map_size.y; + var minimap_map_width = (map_size.width + map_size.x) / RELATION_MINIMAP; var minimap_map_height = (map_size.height + map_size.y) / RELATION_MINIMAP;