react-native-google-maps-plus - v1.10.2
    Preparing search index...

    Interface RNGoogleMapsPlusViewProps

    Native Google Maps view props. Direct mapping to Google Maps SDK for Android/iOS. Platform differences remain unless explicitly aligned.

    interface RNGoogleMapsPlusViewProps {
        buildingEnabled?: boolean;
        circles?: RNCircle[];
        customMapStyle?: string;
        heatmaps?: RNHeatmap[];
        indoorEnabled?: boolean;
        initialProps?: RNInitialProps;
        kmlLayers?: RNKMLayer[];
        locationConfig?: RNLocationConfig;
        mapPadding?: RNMapPadding;
        mapType?: RNMapType;
        mapZoomConfig?: RNMapZoomConfig;
        markers?: RNMarker[];
        myLocationEnabled?: boolean;
        onCameraChange?: (
            region: RNRegion,
            camera: RNCamera,
            isGesture: boolean,
        ) => void;
        onCameraChangeComplete?: (
            region: RNRegion,
            camera: RNCamera,
            isGesture: boolean,
        ) => void;
        onCameraChangeStart?: (
            region: RNRegion,
            camera: RNCamera,
            isGesture: boolean,
        ) => void;
        onCirclePress?: (id: string) => void;
        onIndoorBuildingFocused?: (building: RNIndoorBuilding) => void;
        onIndoorLevelActivated?: (level: RNIndoorLevel) => void;
        onInfoWindowClose?: (id: string) => void;
        onInfoWindowLongPress?: (id: string) => void;
        onInfoWindowPress?: (id: string) => void;
        onLocationError?: (error: RNLocationErrorCode) => void;
        onLocationUpdate?: (location: RNLocation) => void;
        onMapError?: (error: RNMapErrorCode) => void;
        onMapLoaded?: (region: RNRegion, camera: RNCamera) => void;
        onMapLongPress?: (coordinate: RNLatLng) => void;
        onMapPress?: (coordinate: RNLatLng) => void;
        onMapReady?: (ready: boolean) => void;
        onMarkerDrag?: (id: string, location: RNLatLng) => void;
        onMarkerDragEnd?: (id: string, location: RNLatLng) => void;
        onMarkerDragStart?: (id: string, location: RNLatLng) => void;
        onMarkerPress?: (id: string) => void;
        onMyLocationButtonPress?: (pressed: boolean) => void;
        onMyLocationPress?: (location: RNLocation) => void;
        onPoiPress?: (placeId: string, name: string, coordinate: RNLatLng) => void;
        onPolygonPress?: (id: string) => void;
        onPolylinePress?: (id: string) => void;
        polygons?: RNPolygon[];
        polylines?: RNPolyline[];
        trafficEnabled?: boolean;
        uiSettings?: RNMapUiSettings;
        urlTileOverlays?: RNUrlTileOverlay[];
        userInterfaceStyle?: RNUserInterfaceStyle;
    }

    Hierarchy

    • HybridViewProps
      • RNGoogleMapsPlusViewProps
    Index

    Properties

    buildingEnabled?: boolean

    Enables 3D buildings.

    circles?: RNCircle[]

    Circles. See RNCircle.

    customMapStyle?: string

    JSON map style string. Must be a Google Maps StyleSpec JSON.

    heatmaps?: RNHeatmap[]

    Heatmaps. See RNHeatmap.

    indoorEnabled?: boolean

    Enables indoor maps.

    initialProps?: RNInitialProps
    kmlLayers?: RNKMLayer[]

    KML layers. See RNKMLayer.

    locationConfig?: RNLocationConfig

    Location subsystem config. See RNLocationConfig.

    mapPadding?: RNMapPadding

    Map padding. See RNMapPadding.

    mapType?: RNMapType

    Base map type. See RNMapType.

    mapZoomConfig?: RNMapZoomConfig

    Zoom range. See RNMapZoomConfig.

    markers?: RNMarker[]

    Markers. See RNMarker.

    myLocationEnabled?: boolean

    Enables "My Location" blue dot.

    onCameraChange?: (
        region: RNRegion,
        camera: RNCamera,
        isGesture: boolean,
    ) => void

    Camera moving.

    onCameraChangeComplete?: (
        region: RNRegion,
        camera: RNCamera,
        isGesture: boolean,
    ) => void

    Camera idle.

    onCameraChangeStart?: (
        region: RNRegion,
        camera: RNCamera,
        isGesture: boolean,
    ) => void

    Camera move started.

    onCirclePress?: (id: string) => void

    Tap on circle.

    onIndoorBuildingFocused?: (building: RNIndoorBuilding) => void

    Indoor building focused.

    onIndoorLevelActivated?: (level: RNIndoorLevel) => void

    Indoor level activated.

    onInfoWindowClose?: (id: string) => void

    Info window closed.

    onInfoWindowLongPress?: (id: string) => void

    Info window long-press.

    onInfoWindowPress?: (id: string) => void

    Info window tap.

    onLocationError?: (error: RNLocationErrorCode) => void

    Location subsystem error.

    onLocationUpdate?: (location: RNLocation) => void

    Location update.

    onMapError?: (error: RNMapErrorCode) => void

    Map SDK error.

    onMapLoaded?: (region: RNRegion, camera: RNCamera) => void

    First frame rendered.

    onMapLongPress?: (coordinate: RNLatLng) => void

    Long-press on map.

    onMapPress?: (coordinate: RNLatLng) => void

    Tap on map.

    onMapReady?: (ready: boolean) => void

    Native map instance created.

    onMarkerDrag?: (id: string, location: RNLatLng) => void

    Marker drag update.

    onMarkerDragEnd?: (id: string, location: RNLatLng) => void

    Marker drag end.

    onMarkerDragStart?: (id: string, location: RNLatLng) => void

    Marker drag start.

    onMarkerPress?: (id: string) => void

    Tap on marker.

    onMyLocationButtonPress?: (pressed: boolean) => void

    Tap on the My-Location button.

    onMyLocationPress?: (location: RNLocation) => void

    Tap on the blue My-Location indicator.

    onPoiPress?: (placeId: string, name: string, coordinate: RNLatLng) => void

    Tap on POI.

    onPolygonPress?: (id: string) => void

    Tap on polygon.

    onPolylinePress?: (id: string) => void

    Tap on polyline.

    polygons?: RNPolygon[]

    Polygons. See RNPolygon.

    polylines?: RNPolyline[]

    Polylines. See RNPolyline.

    trafficEnabled?: boolean

    Enables traffic layer.

    uiSettings?: RNMapUiSettings
    urlTileOverlays?: RNUrlTileOverlay[]

    URL tile overlays. See RNUrlTileOverlay.

    userInterfaceStyle?: RNUserInterfaceStyle

    Overrides OS UI mode. See RNUserInterfaceStyle.