Dashboards & Visualizations

GoogleMaps center param doesn't seem to work

beaumaris
Communicator

I've tried setting the center parameter in my advanced XML and it does not seem to have any effect - the map still seems to come up with the default center location. My XML looks like this, which should put the US up centered in the window. Any inputs on what might be wrong will be greatly appreciated. I'm running with Splunk 4.2.1 and the latest GoogleMaps 1.1 app. We have a dashboard with multiple panels on it, this is the XML for just one of the panels.

<module name="GenericHeader" layoutPanel="panel_row2_col1" autoRun="True">
  <param name="label"> </param>
    <module name="HiddenSearch" group="Server Location" autoRun="True" layout_panel="panel_row2_col1">
     <param name="search">`Populate_Server_Location_Map_60m()`</param>
       <module name="GoogleMaps">
         <param name="autoPostProcess">false</param>
         <param name="height">500px</param>
         <param name="mapType">terrain</param>
         <param name="mapTypeControl">on</param>
         <param name="navigationControl">on</param>
         <param name="scaleControl">on</param>
         <param name="scrollwheel">off</param>
         <param name="zoomLevel">4</param>
         <param name="center">37.27,-97.12</param>
       </module>
     </module>
   </module>
0 Karma

eduardoalmeida
New Member

Hi,
I was having the same problem, removing the

    <param name="scaleControl">on</param>

fixed the problem.

0 Karma

jeffgoot
New Member

I'm having the same issue. Where you able to get it to work? What did you have to do?

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 ...