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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.