Package com.arubanetworks.meridian.maps
Class ClusteredMarker.Builder
java.lang.Object
com.arubanetworks.meridian.maps.ClusteredMarker.Builder
- Enclosing class:
- ClusteredMarker
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder
(Context context, HighlightedMarkers highlightedMarker, ArrayList<Marker> markersToCluster) A ClusteredMarker Builder needs a list of markers to cluster -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setClusteredMarkers
(ArrayList<Marker> markersToCluster) Sets the markers to clustersetPosition
(float x, float y) Sets the position of the clustered markersetTintColor
(int tintColor) Sets the background color of the clustered marker
-
Constructor Details
-
Builder
public Builder(@NonNull Context context, HighlightedMarkers highlightedMarker, ArrayList<Marker> markersToCluster) A ClusteredMarker Builder needs a list of markers to cluster- Parameters:
context
- Context to be used to get assets to be drawnhighlightedMarker
- The highlighted marker that contains the markers to clustermarkersToCluster
- The list of markers to be clustered
-
-
Method Details
-
setClusteredMarkers
Sets the markers to cluster -
setPosition
Sets the position of the clustered marker -
setTintColor
Sets the background color of the clustered marker -
build
-