import React from 'react'; import { compose, withProps } from 'recompose'; import { withScriptjs, withGoogleMap, GoogleMap, StreetViewPanorama, OverlayView, } from 'react-google-maps'; const getPixelPositionOffset = (width, height) => ({ x: -(width / 2), y: -(height / 2), }); const MapWithAMarker = compose( withProps({ googleMapURL: 'https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places', loadingElement:
, containerElement: , mapElement: , center: { lat: 49.2853171, lng: -123.1119202 }, }), withScriptjs, withGoogleMap )(props => (