All Apps and Add-ons

Google Maps stuck at Loading Google Maps API

colinj
Path Finder

Howdy all,

I've been using the Google Maps add-on for some time now with no problems. Today when I tried to use one of the dashboards I have created there's no map visible. All I get is:

"Loading Google Maps API..."

but no map.

I've upgraded to the current version of the add-on so now I'm not sure what to do.

suggestions?

Tags (2)
1 Solution

ziegfried
Influencer

With the latest version of the Google Maps app (1.1.1) it should work fine in Chrome. The only problem is when SSL is enabled for Splunkweb. Chrome will block the Google Maps API (because its loaded via HTTP).

View solution in original post

ziegfried
Influencer

With the latest version of the Google Maps app (1.1.1) it should work fine in Chrome. The only problem is when SSL is enabled for Splunkweb. Chrome will block the Google Maps API (because its loaded via HTTP).

BP9906
Builder

I fixed it manually, but the app needs to be fixed...

$SPLUNK_HOME/etc/apps/maps/appserver/modules/GoogleMaps/GoogleMaps.js

add: 'https:'

0 Karma

BP9906
Builder

Chrome Console still shows this: Seems to be an app issue still with 1.1.2.

[blocked] The page at https://splunk/en-US/app/maps/maps ran insecure content from http://maps.google.com/maps/api/js?sensor=false&version=v3.6&callback=_gmapsOnLoad.

0 Karma

ziegfried
Influencer

Have you tried to clear the browser cache? It that doesn't work, please take a look at the browser's console and see if you can find any error messages.

0 Karma

jevenson
Path Finder

I just updated to 1.1.2, but it does the same thing where it's stuck at loading google maps api. Any ideas?

0 Karma

ziegfried
Influencer

yes, I'll upload an updated version of the app sometime later today.

0 Karma

jevenson
Path Finder

Is there a way to have SSL enabled for splunkweb and still be able to use google maps?

0 Karma

jspears
Communicator

I wasn't aware that the maps app had stopped working with Chrome, I'm almost certain it used to work fine for me. Do you know what changed?

0 Karma

colinj
Path Finder

Actually I'm going to take the blame on this one. I was using Chrome instead of Firefox. Once I switched browsers it worked just fine. So color me knucklehead.

0 Karma

ziegfried
Influencer

Can you see any Javascript Error in your Browser console?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...