Select to view content in your preferred language

Set Custom Extent for WFS Layer

219
0
02-05-2026 08:36 AM
adongre1
Emerging Contributor

Is it possible to set the spatial extent for a wfs layer programmatically? In the properties for the layer, you can click a check box to "use spatial extent," and then provide the x/y min/max values. Thanks! 

I am using the following to add the layer, which returns a Layer object:

LayerFactory.Instance.CreateLayer<FeatureLayer>(layerCreationParams, MapView.Active.Map);

 

Tags (3)
0 Kudos
0 Replies