Bearing diasable SET

Topics: Etc...
Jan 4, 2012 at 3:11 AM

Hello

Why is disabled property Bearing to set:

[Category("GMap.NET")]
      public float Bearing
      {
         get
         {
            return Core.bearing;
         }
         set
         {
            //if(Core.bearing != value)
            //{
            //   bool resize = Core.bearing == 0;
            //   Core.bearing = value;

            //   UpdateRotationMatrix();

            //   if(value != 0 && value % 360 != 0)
            //   {
            //      Core.IsRotated = true;

            //      if(Core.tileRectBearing.Size == Core.tileRect.Size)
            //      {
            //         Core.tileRectBearing = Core.tileRect;
            //         Core.tileRectBearing.Inflate(1, 1);
            //      }
            //   }
            //   else
            //   {
            //      Core.IsRotated = false;
            //      Core.tileRectBearing = Core.tileRect;
            //   }

            //   if(resize)
            //   {
            //      Core.OnMapSizeChanged((int)ActualWidth, (int)ActualHeight);
            //   }

            //   Core_OnMapZoomChanged();

            //   InvalidateVisual();
            //}
         }
      }

Coordinator
Jan 9, 2012 at 12:02 PM

rotation is out of sync in latest code

Jan 9, 2012 at 1:36 PM

In last version a9646cd300e6 also property Bearing commented. How I can Rotate Map?

Coordinator
Jan 9, 2012 at 1:37 PM

you can't in the latest code

Jan 9, 2012 at 1:41 PM

Why? Where is the latest version?
Thank you.

Coordinator
Jan 9, 2012 at 1:46 PM

rotation should be ok in the last release, hot build has some functionality disabled...

Jan 9, 2012 at 1:51 PM
Edited Jan 9, 2012 at 1:51 PM

Well, thank you now understand when to wait for release?

Coordinator
Jan 9, 2012 at 1:57 PM

you don't have to wait, just use latest release if you need rotation, v1.6

Jan 9, 2012 at 2:46 PM

Well, using version v1.6, and wait for the new release.
Thank you.

Coordinator
Jan 14, 2015 at 6:45 PM
should be ok now
Marked as answer by radioman on 1/14/2015 at 11:45 AM