Geo Maps partially rendering
If your Geo Map visualizations in Analyzer are not correctly displaying, the Pentaho Server is not giving them enough time to fully render.
The Pentaho Server has a static length of time it waits for a Geo Map to finish rendering before the image is captured. This delay allows for all map tiles to be downloaded and points to be plotted. The default wait time is 1200 milliseconds, and it is set through the <map-export-javascript-delay> node in the pentaho-solutions/system/pentaho-geo/settings.xml file, as shown in the following sample line of code:
<map-export-javascript-delay>1200</map-export-javascript-delay>
The following instructions show how to extend the cache value for Geo Maps:
- Locate the - pentaho-server/tomcat/webapps/pentaho/WEB-INF/classesdirectory and open- ehcache.xmlin a text editor.
- Look for the - cacheelement and increase the value for- maxElementsInMemoryas shown in the following example:- <cache name="pentaho-geo-{CUSTOM_ROLE_TYPE}" maxElementsInMemory="1000" eternal="false" overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="0" diskPersistent="false" diskExpiryThreadIntervalSeconds="120" />
- Save and close the - ehcache.xmlfile.
- Restart the Pentaho Server. 
Last updated
Was this helpful?

