Jump to content
The simFlight Network Forums

Nach

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Nach

  1.         FsLatLonPoint[] sector1pol = new FsLatLonPoint[]
            {
                new FsLatLonPoint(39.158189, -6.560815),
                new FsLatLonPoint(39.44173, -6.291623),
                new FsLatLonPoint(39.847553, -4.565154),
                new FsLatLonPoint(39.594515, -4.687465),
                new FsLatLonPoint(39.019832, -6.427709),
                new FsLatLonPoint(39.158189, -6.560815)
            };
            FsLatLonPolygon sector1 = new FsLatLonPolygon(sector1pol);

    I have this code but fail.

    Compile error CS0236 A field initializer cannot reference the non-static field, method, or property 'name'.

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.