Example #1
0
        public void execute()
        {
            LocationSource locationSource = LocationSourceManager.Instance.createLocationSource("LocationSource" + LocationSourceManager.Instance.LocationSources.Count, detectorFactory.CreateDiscriminator());

            MapOverlayForm.Instance.AddUserMarker(locationSource.mapMarker);
            locationSource.Attach(locationSource.mapMarker);
            LocationSourceFormView userView = new LocationSourceFormView(locationSource, this.userListContainer);

            locationSource.Attach(userView);
            RecorderManager.Instance.createUserRecorder(locationSource);
        }