@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPCameraUpdate

    An object that can be used to update the position of the camera by calling ().

    MPCameraUpdate

    Index

    Properties

    bounds?: MPBounds

    An area the camera must cover.

    height?: number

    Specified height of the padding. * * * *

    mode: Mode

    The mode of the update, used internally.

    padding?: number

    The padding between the border of the targeted area and the edge of the map.

    point?: MPPoint

    The target of the camera update.

    position?: MPCameraPosition

    A specific camera position.

    width?: number

    Specified width of the padding.

    zoom?: number

    The camera level of the update.

    Methods

    • Construct the update from a bounding box with some padding.

      Parameters

      • bounds: MPBounds
      • padding: number
      • Optionalsize: MPSize

        Can be used to set a specific width/height padding

      Returns MPCameraUpdate

    • Zooms the camera by the given amount.

      Parameters

      • amount: number

      Returns MPCameraUpdate

    • Zooms the camera to the given level.

      Parameters

      • level: number

      Returns MPCameraUpdate