-
public interface DataRendererAn interface defining the contract for rendering a Scene of geographic features.
Implementations of this interface are responsible for translating the platform-agnostic Scene and Feature models into specific map objects (e.g., Markers, Polylines, Polygons) for a given mapping platform.
-
-
Method Summary
Modifier and Type Method Description abstract Unitrender(DataScene scene)Renders an entire DataScene to the map. abstract UnitaddFeature(Feature feature)Adds a single Feature to the map. abstract UnitremoveFeature(Feature feature)Removes a single Feature from the map. abstract UnitaddLayer(DataLayer layer)Adds a DataLayer to the map. abstract UnitremoveLayer(DataLayer layer)Removes a DataLayer from the map. abstract Unitclear()Clears all currently rendered features from the map. -
-
Method Detail
-
render
abstract Unit render(DataScene scene)
Renders an entire DataScene to the map.
- Parameters:
scene- The scene to render.
-
addFeature
abstract Unit addFeature(Feature feature)
Adds a single Feature to the map.
- Parameters:
feature- The Feature to add.
-
removeFeature
abstract Unit removeFeature(Feature feature)
Removes a single Feature from the map.
- Parameters:
feature- The Feature to remove.
-
addLayer
abstract Unit addLayer(DataLayer layer)
Adds a DataLayer to the map.
- Parameters:
layer- The DataLayer to add.
-
removeLayer
abstract Unit removeLayer(DataLayer layer)
Removes a DataLayer from the map.
- Parameters:
layer- The DataLayer to remove.
-
-
-
-