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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.