From ea9b530a8a48728ab7fd7999a42fbc2d12df3cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josue=CC=81=20Di=CC=81az?= Date: Sun, 20 Oct 2024 10:33:00 -0600 Subject: [PATCH] Uncomment code --- .../UI/CustomMarkerClusteringDemoActivity.cs | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Samples/Sample.Android/UI/CustomMarkerClusteringDemoActivity.cs b/Samples/Sample.Android/UI/CustomMarkerClusteringDemoActivity.cs index 1a3ab94..4b753d0 100644 --- a/Samples/Sample.Android/UI/CustomMarkerClusteringDemoActivity.cs +++ b/Samples/Sample.Android/UI/CustomMarkerClusteringDemoActivity.cs @@ -61,12 +61,12 @@ protected override void OnBeforeClusterItemRendered(Java.Lang.Object item, Marke markerOptions.SetIcon(getItemIcon(person)).SetTitle(person.name); } - //public void OnClusterItemUpdated(Person person, Marker marker) - //{ - // // Same implementation as onBeforeClusterItemRendered() (to update cached markers) - // marker.SetIcon(getItemIcon(person)); - // marker.Title = person.Name; - //} + public void OnClusterItemUpdated(Person person, Marker marker) + { + // Same implementation as onBeforeClusterItemRendered() (to update cached markers) + marker.SetIcon(getItemIcon(person)); + marker.Title = person.name; + } /** * Get a descriptor for a single person (i.e., a marker outside a cluster) from their @@ -89,11 +89,11 @@ protected override void OnBeforeClusterRendered(ICluster cluster, MarkerOptions markerOptions.SetIcon(getClusterIcon(cluster)); } - //protected override void OnClusterUpdated(ICluster cluster, Marker marker) - //{ - // // Same implementation as onBeforeClusterRendered() (to update cached markers) - // marker.SetIcon(getClusterIcon(cluster)); - //} + protected override void OnClusterUpdated(ICluster cluster, Marker marker) + { + // Same implementation as onBeforeClusterRendered() (to update cached markers) + marker.SetIcon(getClusterIcon(cluster)); + } /** * Get a descriptor for multiple people (a cluster) to be used for a marker icon. Note: this