protected void OnBaseMapChanged(BaseMapChangedEventArgs args)
        {
            if (View.Instance != null)
            {
                View.Instance.ChangeBaseMap(args.BaseMapInfo);
            }

            CurrentBaseMapName = args.BaseMapInfo.Name;
            if (BaseMapChanged != null)
            {
                BaseMapChanged(this, args);
            }
        }
Ejemplo n.º 2
0
 protected virtual void OnCustomBaseMapChanged(BaseMapChangedEventArgs args)
 {
     if (CustomBaseMapChanged != null)
         CustomBaseMapChanged(this, args);
 }
Ejemplo n.º 3
0
 private void baseMapConfigWindow_BaseMapChanged(object sender, BaseMapChangedEventArgs e)
 {
     onBaseMapChanged(e);
 }
Ejemplo n.º 4
0
 private void onBaseMapChanged(BaseMapChangedEventArgs e)
 {
     BaseMapInfo baseMapInfo = e.BaseMapInfo;
     ChangeBaseMap(baseMapInfo);
 }
        protected void OnBaseMapChanged(BaseMapChangedEventArgs args)
        {
            if (View.Instance != null)
                View.Instance.ChangeBaseMap(args.BaseMapInfo);

            CurrentBaseMapName = args.BaseMapInfo.Name;
            if (BaseMapChanged != null)
                BaseMapChanged(this, args);
        }