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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.