private void UpdateUI(GISServer.Core.Client.Symbols.PictureMarkerSymbol picturemarkersymbol)
        {
            txttype.Text        = picturemarkersymbol.Type;
            txturl.Text         = picturemarkersymbol.Url;
            txtcontenttype.Text = picturemarkersymbol.ContentType;


            txtwidth.Text   = picturemarkersymbol.Width.ToString();
            txtheight.Text  = picturemarkersymbol.Height.ToString();
            txtangle.Text   = picturemarkersymbol.Angle.ToString();
            txtxoffset.Text = picturemarkersymbol.Xoffset.ToString();
            txtyoffset.Text = picturemarkersymbol.Yoffset.ToString();


            var colorbrush = new SolidColorBrush
            {
                Color = new System.Windows.Media.Color
                {
                    R = picturemarkersymbol.Color[0],
                    G = picturemarkersymbol.Color[1],
                    B = picturemarkersymbol.Color[2],
                    A = picturemarkersymbol.Color[3]
                }
            };

            reccolor.Fill = colorbrush;
        }
        public PictureMarkerSymbol()
        {
            picturemarkersymbol = new GISServer.Core.Client.Symbols.PictureMarkerSymbol();

            InitializeComponent();

            UpdateJSONforInitialUI();
        }
        public PictureMarkerSymbol()
        {
            picturemarkersymbol = new GISServer.Core.Client.Symbols.PictureMarkerSymbol();

            InitializeComponent();

            UpdateJSONforInitialUI();
        }