Archive

GoogleMaps center param doesn't seem to work

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

New Member

Hi,
I was having the same problem, removing the

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

fixed the problem.

0 Karma

New Member

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

0 Karma