Beispiel #1
0
 public Pin(int socketID, int address, string name, PinLogic logic)
 {
     SocketID = socketID;
     Address  = address;
     Name     = name;
     Logic    = logic;
 }
Beispiel #2
0
        public MapRenderer(Context context) : base(context)
        {
            _cameraLogic = new CameraLogic(UpdateVisibleRegion);

            AutoPackage = false;
            _pinLogic   = new PinLogic(context, Config.BitmapDescriptorFactory,
                                       OnMarkerCreating, OnMarkerCreated, OnMarkerDeleting, OnMarkerDeleted);
            _logics = new BaseLogic <GoogleMap>[]
            {
                new PolylineLogic(),
                new PolygonLogic(),
                new CircleLogic(),
                _pinLogic,
                new TileLayerLogic(),
                new GroundOverlayLogic(context, Config.BitmapDescriptorFactory)
            };
        }