Skip to content

Commit

Permalink
Make methods to get ClusterItem and Markers public
Browse files Browse the repository at this point in the history
As discussed here #67
  • Loading branch information
lukesleeman committed Jun 22, 2014
1 parent f83f36c commit 49d42d6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ protected void onClusterItemRendered(T clusterItem, Marker marker) {
* @param clusterItem ClusterItem which you will obtain its marker
* @return a marker from a ClusterItem or null if it does not exists
*/
protected Marker getMarker(T clusterItem) {
public Marker getMarker(T clusterItem) {
return mMarkerCache.get(clusterItem);
}

Expand All @@ -733,7 +733,7 @@ protected Marker getMarker(T clusterItem) {
* @param marker which you will obtain its ClusterItem
* @return a ClusterItem from a marker or null if it does not exists
*/
protected T getClusterItem(Marker marker) {
public T getClusterItem(Marker marker) {
return mMarkerCache.get(marker);
}

Expand All @@ -742,7 +742,7 @@ protected T getClusterItem(Marker marker) {
* @param cluster which you will obtain its marker
* @return a marker from a cluster or null if it does not exists
*/
protected Marker getMarker(Cluster<T> cluster) {
public Marker getMarker(Cluster<T> cluster) {
return mClusterToMarker.get(cluster);
}

Expand All @@ -751,7 +751,7 @@ protected Marker getMarker(Cluster<T> cluster) {
* @param marker which you will obtain its Cluster
* @return a Cluster from a marker or null if it does not exists
*/
protected Cluster<T> getCluster(Marker marker) {
public Cluster<T> getCluster(Marker marker) {
return mMarkerToCluster.get(marker);
}

Expand Down

0 comments on commit 49d42d6

Please sign in to comment.