Считать границы слоя
function GetLayerBounds(lCode: integer; var MinX, MaxX, MinY, MaxY: double; aFilterStr: string = ''): integer;