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 Summary
FieldsFields inherited from class overit.geocallapp.wfm.geos.geojson.GeoJSONDefaultPropertiesBuilder
_palette, DEFAULT_DARK_TEXT_COLOR, DEFAULT_LIGHT_TEXT_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(HashGetter rawData) protected StringbuildLabel(HashGetter rawData) Builds a label for the bundle operation marker.Methods inherited from class overit.geocallapp.wfm.geos.geojson.GeoJSONDefaultPropertiesBuilder
getFillColor, getPalette, getStrokeColor, getTextColor, hexToRgb, setPalette
-
Field Details
-
DEFAULT_BUNDLE_OPERATION_COLOR
- See Also:
-
BUNDLE_OPERATION_SEGMENT_STOCK_COLOR
- See Also:
-
FACTORY_PATH
- See Also:
-
-
Constructor Details
-
GeoJSONBundleOperationPropertiesBuilder
public GeoJSONBundleOperationPropertiesBuilder()
-
-
Method Details
-
build
- Specified by:
buildin interfaceoverit.geocallapp.wfm.geos.geojson.GeoJSONEntityPoint.GeoJSONEntityPointPropertiesBuilder- Overrides:
buildin classoverit.geocallapp.wfm.geos.geojson.GeoJSONDefaultPropertiesBuilder
-
buildLabel
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
-