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!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...