Skip to content

Instantly share code, notes, and snippets.

@nickbalestra
Created August 8, 2017 21:21
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/ade96aea795cea0584f7c5722f4544b3 to your computer and use it in GitHub Desktop.
Save nickbalestra/ade96aea795cea0584f7c5722f4544b3 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: 0, lng: 0 }}
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