Class ResultHighmap

Object
AbstractPortletDto
ResultHighchart
ResultHighmap
All Implemented Interfaces:
Serializable, Portlet, ComplexCalculationResult

public class ResultHighmap extends ResultHighchart
See Also:
  • Constructor Details

    • ResultHighmap

      public ResultHighmap(Map<String,?> definition)
      Not intended for public use. Using this constructor will not fully initialize the instance, please prefer api.buildHighmap().
      See Also:
  • Method Details

    • addMap

      public ResultHighmap addMap(String... maps)
      The map renderer will try to download the appropriate map by peeking at chart.map value of the provided definition. This method allows to downlaod any other JavaScript file available under the mapdata/ directory.
      Parameters:
      maps - one or more Highmaps compatible JavaScript map names, with the same form as would be used for the chart.map property of the map definition; i.e. including the path from mapdata/ and without the ".js" extension. e.g. "countries/us/us-all", "custom/world-robinson", "custom/europe"
      Returns:
      the ResultHighmap instance, for convenience
      See Also:
    • getMapsList

      public List<String> getMapsList()
      Not intended for public use, required for JSON serialization.
    • getResultType

      public String getResultType()
      Specified by:
      getResultType in interface ComplexCalculationResult
      Overrides:
      getResultType in class ResultHighchart