i have a simple code but dont know why when i try to refresh the map, error occured that says: "Value of 'null' is not valid for 'stream'"...
Feature feature = new Feature(worldP.X, worldP.Y, "car");
InMemoryFeatureLayer markerLayer = (InMemoryFeatureLayer)wpfMap1.FindFeatureLayer("MarkerLayer");
markerLayer.InternalFeatures.Add("car", feature);
wpfMap1.Refresh();
the same error when i try to refresh 1 overlay:
wpfMap1.Refresh(wpfMap1.Overlays["MarkerOverlay"]);
i can't figure out why is this so?