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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...