Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3457046
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:48:45+00:00 2026-05-18T09:48:45+00:00

I have an issue with a collection that I have bound. I have a

  • 0

I have an issue with a collection that I have bound. I have a manual refresh button that pulls some moving pushpins from the server. The server is moving the pins itself. After processing I delete the existing collection and re add it to the Observable Collection. This code works and I have verififed that the contents have been update however the pins only “update” (move on the map) if a Zoom or move of the map has happened!

My class is as follows…

public class MapData : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        private void RaisedPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        private GeoCoordinate mapCenter = new GeoCoordinate(50, -1);

        public GeoCoordinate MapCenter
        {
            get { return this.mapCenter; }
            set
            {
                if (this.mapCenter == value) return;
                this.mapCenter = value;
                this.RaisedPropertyChanged("MapCenter");
            }
        }

        private double zoom = 7.0;
        public double Zoom
        {
            get { return this.zoom; }
            set
            {
                if (this.zoom == value) return;
                this.zoom = value;
                this.RaisedPropertyChanged("Zoom");
            }
        }

        public ObservableCollection<Plane> pins = new ObservableCollection<Plane>() { 

        };

        public ObservableCollection<Plane> Pins
        {
            get { return pins; }
        }

        public void RemovePoints()
        {
            for (int i = 0; i < pins.Count; i++)
            {
                pins.RemoveAt(i);
            }
            pins.Clear();
            this.RaisedPropertyChanged("Location");
        }

       public void AddPoints(List<Plane> Planelist)
        {

            for (int i = 0; i < Planelist.Count; i++) 
            {
                pins.Add(Planelist[i]);
            }

        }



        private Plane selectedPin;
        public Plane SelectedPin
        {
            get {
                return this.selectedPin;
            }
            set
            {
                if (this.selectedPin == value) return;
                this.selectedPin = value;
                this.RaisedPropertyChanged("SelectedPin");

            }
        }

        private LocationCollection routePoints = new LocationCollection();
        public LocationCollection RoutePoints
        {
            get { return routePoints; }
        }

    }

And it is bound using the following…

<my:MapItemsControl ItemsSource="{Binding Pins}" ItemTemplate="{StaticResource PushedMe}"/>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:48:46+00:00Added an answer on May 18, 2026 at 9:48 am

    After speaking with Microsoft it appears that the device will cache URL’s and that is actually my issue! Forced no-cache on the server side and issue fixed!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The issue I have a popup button ( NSPopUpButton ) that is bound to
Say I have a ListBox that is bound to an observable collection on my
I have a WPF ListView that is bound to a collection ( List<T> ).
I have a ListView in my WPF app that is bound to a collection
I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
i have an issue i could use some help with, i have python list
I have an issue with a datagrid inserting/updating rows twice. The datagrid is bound
I have a TreeView that is bound to an ObservableCollection in my ViewModel. I
I have a TreeView on my page. It's bound to a collection of clients
I have been fighting this issue for some time so today I started a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.