Interface BundleMapLayer
- All Known Implementing Classes:
BundleHeaderMapLayer,BundleMapLayerBase,BundleOperationsMapLayer,BundleStartingPositionMapLayer
public interface BundleMapLayer
Interface for Bundle-related map layers.
This interface defines the contract for creating and managing
map layers that display Bundle-related geographic data.
- Since:
- 20.1
-
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.EnvelopeCalculates the envelope for the layer.fetchGeoJSONData(Function<List<HashGetter>, String> toGeoJSONFunction, org.locationtech.jts.geom.Envelope bbox, Collection<String> selectedFeatures) Fetches GeoJSON data for the layer.Returns the alternative X coordinate field.Returns the alternative Y coordinate field.List<org.locationtech.jts.geom.Coordinate> Returns the coordinates for map related operations on coordinates.Returns the features data for map related operations on features.getGeoJSONInfo(String featureId) Retrieves GeoJSON information for a specific feature.overit.geocall.basic.geos.ui.webmap.LayerReturns the GeoJSON layer.Returns the GeoJSON style function.Returns the ID field.Returns the layer ID.Returns the layer name.Returns the primary X coordinate field.Returns the primary Y coordinate field.Returns the tooltip configuration.
-
Method Details
-
getLayerId
String getLayerId()Returns the layer ID.- Returns:
- the layer ID
-
getLayerName
String getLayerName()Returns the layer name.- Returns:
- the layer name
-
getPrimaryXField
String getPrimaryXField()Returns the primary X coordinate field.- Returns:
- the primary X coordinate field
-
getPrimaryYField
String getPrimaryYField()Returns the primary Y coordinate field.- Returns:
- the primary Y coordinate field
-
getAlternativeXField
String getAlternativeXField()Returns the alternative X coordinate field.- Returns:
- the alternative X coordinate field
-
getAlternativeYField
String getAlternativeYField()Returns the alternative Y coordinate field.- Returns:
- the alternative Y coordinate field
-
getIdField
String getIdField()Returns the ID field.- Returns:
- the ID field
-
getGeoJSONStyleFunction
String getGeoJSONStyleFunction()Returns the GeoJSON style function.- Returns:
- the GeoJSON style function
-
getGeoJSONLayer
overit.geocall.basic.geos.ui.webmap.Layer getGeoJSONLayer()Returns the GeoJSON layer.- Returns:
- the GeoJSON layer
-
getGeoJSONInfo
Retrieves GeoJSON information for a specific feature.- Parameters:
featureId- the feature ID- Returns:
- GeoJSON information for the specified feature
-
getTooltipConfiguration
String getTooltipConfiguration()Returns the tooltip configuration.- Returns:
- the tooltip configuration
-
getCoordinates
List<org.locationtech.jts.geom.Coordinate> getCoordinates()Returns the coordinates for map related operations on coordinates.- Returns:
- the list of coordinates
-
getFeaturesData
List<HashGetter> getFeaturesData()Returns the features data for map related operations on features.- Returns:
- the list of features data
-
fetchGeoJSONData
String fetchGeoJSONData(Function<List<HashGetter>, String> toGeoJSONFunction, org.locationtech.jts.geom.Envelope bbox, Collection<String> selectedFeatures) Fetches GeoJSON data for the layer.- Parameters:
toGeoJSONFunction- function to convert features to GeoJSON stringbbox- the bounding box for filtering featuresselectedFeatures- the selected features- Returns:
- GeoJSON string for the layer
-
calculateEnvelope
org.locationtech.jts.geom.Envelope calculateEnvelope()Calculates the envelope for the layer.- Returns:
- the envelope
-