Google Maps broken After 5.5.1 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Google Maps broken After 5.5.1 upgrade

Post by CSykes1 »

When I click on google maps now all I get is test that starts with the below.

> var infowindow; function initialize() { /*set initial map center coordinates */ var defZoom = 9; //value must be numeric var myLatlng = new google.maps.LatLng(41.84274310000001, -88.1020037999999); //must be the google latlng object /*###################################*/ /*###################################*/ /*create the map */ if(myLatlng) { /*set map defaults */ var myOptions = { zoom: defZoom, center: myLatlng, minZoom: 2, maxZoom: 20, mapTypeId: google.maps.MapTypeId.HYBRID } var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); /*************************MARKERS*****************************/ var latLng_407 = new google.maps.LatLng(41.84274310000001, -88.1020037999999); var marker_407 = new google.maps.Marker({ position: latLng_407, title:"Wheaton Router", icon:"http://www.google.com/mapfiles/marker_green.png", map: map }); google.maps.event.addListener(marker_407, "click", function() { if (infowindow) infowindow.close(); var contentString = '
'+ '
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Google Maps broken After 5.5.1 upgrade

Post by jomann »

We don't distribute the component with the actual Nagios XI tarball, so it should not have updated anything. If you go to the Manage Components section in the Admin area, check for updates, are there updates to the Google Maps component?

Also is this a Javascript error in your browser?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Google Maps broken After 5.5.1 upgrade

Post by CSykes1 »

There was a update and that fix it. Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Google Maps broken After 5.5.1 upgrade

Post by scottwilkerson »

CSykes1 wrote:There was a update and that fix it. Thanks
Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked