示例#1
0
        /// <summary>
        /// Добавить гео-Объект
        /// </summary>
        /// <param name="name">наименование</param>
        /// <param name="description">описание</param>
        /// <param name="pos">позиция</param>
        public void AddGeoObject(string name, string description, string pos)
        {
            GeoObject geoObj = new GeoObject();

            geoObj.name        = name;
            geoObj.description = description;
            geoObj.Point.pos   = pos.Replace(',', '.');

            this.GeoObjectCollection.featureMembers.GeoObject.Add(geoObj);
        }
示例#2
0
 public FeatureMember()
 {
     GeoObject = new GeoObject();
 }