## Map.GetEnumerator method

Returns an enumerator that iterates through the layers in the map.

```csharp
public IEnumerator<MapLayer> GetEnumerator()
```

### Return Value

An enumerator that can be used to iterate through the layers in the map.

### See Also

* class [MapLayer](../../maplayer/)
* class [Map](../)
* namespace [Aspose.Gis.Rendering](../../map/)
* assembly [Aspose.GIS](../../../)


