Skip to main content

Street View

A Street View panorama at Fort Point, looking at the Golden Gate Bridge.

Street View panorama at Fort Point with the Golden Gate Bridge, on iOS
iOS
Street View panorama at Fort Point with the Golden Gate Bridge, on Android
Android

Uses GoogleMapsStreetView.

street-view.tsx
import React from 'react';

import { GoogleMapsStreetView } from 'react-native-google-maps-plus';

export default function StreetView() {
return (
<GoogleMapsStreetView
style={{ flex: 1 }}
panoramaOptions={{
position: { latitude: 37.8090233, longitude: -122.4742005 },
camera: { bearing: 315, tilt: 0, zoom: 0 },
}}
/>
);
}

Colors, map styles and the SVG helpers svg, marker and pill come from shared.ts. Marker text uses the Roboto fonts bundled with the example app, see fonts.