Skip to content

Instantly share code, notes, and snippets.

@nickbalestra
Created August 8, 2017 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickbalestra/788482e71507370cdec8893f46549250 to your computer and use it in GitHub Desktop.
Save nickbalestra/788482e71507370cdec8893f46549250 to your computer and use it in GitHub Desktop.
import React from 'react';
import styles from './map.css';
import GoogleMap from './google-map';
import mapData from '../../test/geo.json';
export function Map(props) {
let map = (
<GoogleMap
markerData={mapData.features}
centerPoint={{ lat: 51.5285, lng: -0.0847 }}
zoomLevel={12}
/>
);
return (
<div className={styles.map}>
{map}
</div>
);
}
export default Map;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment