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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...