コード例 #1
0
        public GMarkerBaiDu(PointLatLng p, GMarkerBaiDuType type) : base(p)
        {
            this.Type = type;

            if (type != GMarkerBaiDuType.none)
            {
                LoadBitmap();
            }
        }
コード例 #2
0
 protected GMarkerBaiDu(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     this.Type    = Extensions.GetStruct <GMarkerBaiDuType>(info, "type", GMarkerBaiDuType.none);
     this.Bearing = Extensions.GetStruct <float>(info, "Bearing", null);
 }