-
- All Implemented Interfaces:
public interface ShapesControllerInterface for managing API fed shapes Copyright reserved by telenav 2021.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classShapesController.IdId class to use as a unique identifier for processed shape collections
-
Method Summary
Modifier and Type Method Description abstract ShapesController.Idadd(@NonNull() Shape.Collection collection)Add a shape collection to the MapView abstract voidremove(@NonNull() ShapesController.Id collectionId)Remove a shape collection from the MapView abstract voidsetAlphaValue(@NonNull() ShapesController.Id collectionId, float alpha)Set the alpha value of a shape collection -
-
Method Detail
-
add
@Nullable() abstract ShapesController.Id add(@NonNull() Shape.Collection collection)
Add a shape collection to the MapView
- Parameters:
collection- the collection of shapes to be added
-
remove
abstract void remove(@NonNull() ShapesController.Id collectionId)
Remove a shape collection from the MapView
- Parameters:
collectionId- the Id of the processed collection
-
setAlphaValue
abstract void setAlphaValue(@NonNull() ShapesController.Id collectionId, float alpha)
Set the alpha value of a shape collection
- Parameters:
collectionId- the Id of the processed collectionalpha- the alpha value to render the shape collection.
-
-
-
-