예제 #1
0
        public MapRenderer(Context context) : base(context)
        {
            _cameraLogic  = new CameraLogic(UpdateVisibleRegion);
            _clusterLogic = new ClusterLogic(context, Config.BitmapDescriptorFactory);

            AutoPackage = false;
            _logics     = new BaseLogic <Android.Gms.Maps.GoogleMap>[]
            {
                new PolylineLogic(),
                new PolygonLogic(),
                new CircleLogic(),
                new PinLogic(context, Config.BitmapDescriptorFactory),
                new GroundOverlayLogic(context, Config.BitmapDescriptorFactory)
                //new ClusterLogic(context, Config.BitmapDescriptorFactory)
            };
        }
예제 #2
0
 public ClusterLogicHandler(Map map, ClusterManager manager, ClusterLogic logic)
 {
     this.map       = map;
     clusterManager = manager;
     this.logic     = logic;
 }