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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...