상속: Geometry
        public CustomGeoCircle()
        {
            InitializeComponent();
            FeaturesLayer featuresLayer = MyMap.Layers["MyFeaturesLayer"] as FeaturesLayer;
            Feature feature = new Feature();

            GeoCircle circle = new GeoCircle();
            circle.Center = new GeoPoint(0, 0);
            circle.Radius = 20;

            feature.Geometry = circle;
            featuresLayer.Features.Add(feature);
        }
예제 #2
0
 /// <summary>${core_GeoCircle_method_clone_D}</summary>
 public override Geometry Clone()
 {
     GeoCircle region = new GeoCircle(this.center, this.radius);
     return region;
 }