Skip to Content
APIMapInterface: BoundsOptions

Interface: BoundsOptions

Options for bounds operations

Properties

onComplete()?

optional onComplete: () => void;

Callback function executed when the bounds change completes

Returns

void

Example

map.setMaxBounds(coordinates, { onComplete: () => { console.log("Bounds set") }, })
Last updated on