-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Expected Behavior
When mapping multiple points that are either side of the 180 degree mark all points map is viewing are visible.
eg:
/map?default_zoom=5&default_lat=-7.885147283424331&default_long=179.999 would show points such as Fiji, Vanuatu, Kiribati, Tonga, Samoa or Niue.
/map?default_zoom=5&default_lat=-7.885147283424331&default_long=-179.999 would show points such as Fiji, Vanuatu, Kiribati, Tonga, Samoa or Niue.
Current Behavior
When mapping multiple points that are either side of the 180 degree mark only points on the side the map is viewing are visible.
eg:
/map?default_zoom=5&default_lat=-7.885147283424331&default_long=179.999 would show points such as Fiji, Vanuatu, Kiribati but not Tonga, Samoa or Niue.
/map?default_zoom=5&default_lat=-7.885147283424331&default_long=-179.999 would show the opposite. Points for Tonga, Samoa or Niue are visible but Fiji, Vanuatu, Kiribati disappear
Possible Solution
Steps to Reproduce (for bugs)
- Add host lat/long values for Tonga, Samoa Niue, Fiji, Vanuatu, Kiribati
- View on maps
- Switch between default_long=179.999 and default_long=-179.999 when viewing the maps
You should see 3 locations only that change depending on the side of 180 degrees the view is.
Context
Your Environment
- Icinga Web 2 Map version (System - About): 1.1.0
- Icinga Web 2 version and modules (System - About):
- Icinga Web 2 Version 2.6.2
- Modules
- director | 1.6.2
- map | 1.1.0
- monitoring | 2.6.2
- netboximport | 1.0.1
- Version used (
icinga2 --version):- icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.3-1)
- Operating System and version:
Platform: Ubuntu
Platform version: 18.04.2 LTS (Bionic Beaver) - Enabled features (
icinga2 feature list):
root@icinga:~# icinga2 feature list
Disabled features: compatlog debuglog elasticsearch gelf graphite influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker command ido-mysql mainlog notification - Config validation (
icinga2 daemon -C):