I have 2 button with following action:
(i) button A: Clear internal features on InMemoryFeatureLayer. Then, add 3 new point on InMemoryFeatureLayer in Location A. After that, zoom to Location A by using InMemoryFeatureLayer.FeatureSource.GetBoundingBox().
(ii) button B: Clear internal features on InMemoryFeatureLayer. Then, add 4 new point on InMemoryFeatureLayer in Location B. After that, zoom to Location B by using InMemoryFeatureLayer.FeatureSource.GetBoundingBox().
First, press the button A. The map show or zoom to location A with 3 points. After that, press button B, the map zoom at location B with 4 points. Then repeat press the button A, the map show 3 points but the layer NOT Refresh. It still show the location B with 3 points? if i pan the map, the map will refresh to location A with 3 points.
May i know why this event happend?