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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...