Mapview.fitView()

Fits the view to a given extent

Parameters:
NameTypeDescription
extentArray

geo extent, array of 4 numbers, must be [minX, minY, maxX, maxY]

optionsObject

Defaults to empty object