Page 1 of 1

Google Maps broken After 5.5.1 upgrade

Posted: Tue Jul 17, 2018 4:33 pm
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 = '
'+ '

Re: Google Maps broken After 5.5.1 upgrade

Posted: Wed Jul 18, 2018 9:28 am
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?

Re: Google Maps broken After 5.5.1 upgrade

Posted: Sun Jul 22, 2018 12:09 pm
by CSykes1
There was a update and that fix it. Thanks

Re: Google Maps broken After 5.5.1 upgrade

Posted: Mon Jul 23, 2018 8:19 am
by scottwilkerson
CSykes1 wrote:There was a update and that fix it. Thanks
Locking