From 202c7c327fd7f664931fd0ae37bd5b6f8e02a7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Kn=C3=B6chel?= Date: Tue, 6 Jun 2023 22:31:33 +0200 Subject: [PATCH] fix: do not track view changes in marker to prevent flickering --- Classes/TiGooglemapsAnnotationProxy.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/TiGooglemapsAnnotationProxy.m b/Classes/TiGooglemapsAnnotationProxy.m index 068c640..8889712 100644 --- a/Classes/TiGooglemapsAnnotationProxy.m +++ b/Classes/TiGooglemapsAnnotationProxy.m @@ -153,6 +153,8 @@ - (void)setCustomIcon:(id)value [container addSubview:titleLabel]; [[self marker] setIconView:container]; + [[self marker] setTracksViewChanges:NO]; + [self replaceValue:value forKey:@"customIcon" notification:NO]; }