I tried the following:layer.Where = where;Map.Extent = layer.FullExtent;layer.Update();
You set the Map.Extent too early.The FullExtent of the layer is updated only after the layer itself has been updated.So it should work by setting the Map.Extent in an Layer.UpdateCompleted handler.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.