public ClusteredMapRenderer(Context context) : base(context) { Logics.Remove(Logics.OfType <PinLogic>().First()); clusterLogic = new ClusterLogic(context, Config.BitmapDescriptorFactory, OnClusteredMarkerCreating, OnClusteredMarkerCreated, OnClusteredMarkerDeleting, OnClusteredMarkerDeleted); Logics.Add(clusterLogic); }
public static void RegisterLogic <T>(Logic logic) { if (!Logics.ContainsKey(typeof(T))) { Logics.Add(typeof(T), new List <Logic>()); } Logics[typeof(T)].Add(logic); }
public ClusteredMapRenderer() { Logics.Remove(Logics.OfType <PinLogic>().First()); Logics.Add(new ClusterLogic(Config.ImageFactory, OnMarkerCreating, OnMarkerCreated, OnMarkerDeleting, OnMarkerDeleted)); }
public void Add(LogicFlowModel logic) { Logics.Add(logic); }