Class GeoJSONBundleOperationPropertiesBuilder

java.lang.Object
overit.geocallapp.wfm.geos.geojson.GeoJSONDefaultPropertiesBuilder
overit.geocallapp.wfm.core.ux.bundler.search.detail.map.geojson.GeoJSONBundleOperationPropertiesBuilder
All Implemented Interfaces:
overit.geocallapp.wfm.geos.geojson.GeoJSONEntityPoint.GeoJSONEntityPointPropertiesBuilder

public class GeoJSONBundleOperationPropertiesBuilder extends overit.geocallapp.wfm.geos.geojson.GeoJSONDefaultPropertiesBuilder
Properties builder for bundle operation markers on the map. Creates GeoJSON properties for bundle operations similar to notification markers.
Since:
20.1
  • Field Details

  • Constructor Details

    • GeoJSONBundleOperationPropertiesBuilder

      public GeoJSONBundleOperationPropertiesBuilder()
  • Method Details

    • build

      public HashGetter build(HashGetter rawData)
      Specified by:
      build in interface overit.geocallapp.wfm.geos.geojson.GeoJSONEntityPoint.GeoJSONEntityPointPropertiesBuilder
      Overrides:
      build in class overit.geocallapp.wfm.geos.geojson.GeoJSONDefaultPropertiesBuilder
    • buildLabel

      protected String buildLabel(HashGetter rawData)
      Builds a label for the bundle operation marker. Only displays the label if the DISPLAY_LABEL flag is true. For grouped operations at the same coordinates, only the first operation displays the label.
      Parameters:
      rawData - the raw data containing operation information
      Returns:
      the label string, or empty string if label should not be displayed