-
Notifications
You must be signed in to change notification settings - Fork 939
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
175 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
import React from "react"; | ||
|
||
import ReactDOM from "react-dom"; | ||
|
||
const Root = ( | ||
window.ReactGoogleMapsAsync ? | ||
require(`./app/AsyncApp`).default : | ||
/* | ||
* If you're not using async, | ||
* | ||
* Add script src="https://maps.googleapis.com/maps/api/js" to your HTML to provide google.maps reference | ||
*/ | ||
require(`./app/App`).default | ||
); | ||
|
||
import "./index.css"; | ||
|
||
ReactDOM.render( | ||
<Root />, | ||
document.getElementById(`root`) | ||
); | ||
export { default as withScriptjs } from "./withScriptjs" | ||
|
||
export { default as withGoogleMap } from "./withGoogleMap" | ||
|
||
export { default as GoogleMap } from "./components/GoogleMap" | ||
|
||
export { default as Circle } from "./components/Circle" | ||
|
||
export { default as Marker } from "./components/Marker" | ||
|
||
export { default as Polyline } from "./components/Polyline" | ||
|
||
export { default as Polygon } from "./components/Polygon" | ||
|
||
export { default as Rectangle } from "./components/Rectangle" | ||
|
||
export { default as InfoWindow } from "./components/InfoWindow" | ||
|
||
export { default as OverlayView } from "./components/OverlayView" | ||
|
||
export { default as DirectionsRenderer } from "./components/DirectionsRenderer" | ||
|
||
export { default as FusionTablesLayer } from "./components/FusionTablesLayer" | ||
|
||
export { default as KmlLayer } from "./components/KmlLayer" | ||
|
||
export { default as TrafficLayer } from "./components/TrafficLayer" | ||
|
||
export { default as StreetViewPanorama } from "./components/StreetViewPanorama" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.