All Apps and Add-ons

Set Opacity of Google Map Event Icons

graceam
New Member

First off, this is a great app and functions perfectly for my needs. One questions though, is there a way to adjust the opacity of the event icons on the Google Maps view? When I have many events worldwide it is difficult to make out what's underneath all of the icons. Just looks like a colorful blob. Thank you much!

Aaron

Tags (1)
0 Karma

ziegfried
Influencer

This is a good enhancement request. I'll add this as an option in the version of the app. In the meanwhile you can edit the CSS file of the GoogleMaps module and hardcode the opacity for all markers:

$SPLUNK_HOME/etc/apps/maps/appserver/modules/GoogleMaps/GoogleMaps.css:

add something like this to the cluster-icon style:

opacity: 0.6; filter: alpha(opacity=60);

so for example line 4 of the css file could look like:

.cluster-icon { color: black; cursor: pointer; position: absolute; font-family: Arial, sans-serif; font-size: 11px; font-weight: bold; text-align: center;-moz-user-select:none;-webkit-user-select:none; opacity: 0.6; filter: alpha(opacity=60);}

ziegfried
Influencer

Can you post the edited css file on pastebin and share a link? Did you restart Splunk? What browser are you using and did you force-reload or clear the browser cache?

0 Karma

graceam
New Member

It didn't work for me. I change line 4 of my GoogleMaps.css file to match the one you showed above. When that didn't work I went ahead and added the same opacity parameter statement to lines 5-9 as well. Icons still not "see through" on the map. Thanks anyway, looking forward to the next release!

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...