FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
google-map-react/develop/Main.js at master · jmsdevx/google-map-react · GitHub
jmsdevx
/
google-map-react
Public
forked from
google-map-react/google-map-react
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
google-map-react
/
develop
/
Main.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
30 lines (26 loc) · 1.04 KB
Breadcrumbs
google-map-react
/
develop
/
Main.js
Copy path
File metadata and controls
30 lines (26 loc) · 1.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* eslint-disable import/no-named-as-default */
import
React
from
'react'
;
import
{
render
}
from
'react-dom'
;
import
{
Router
,
Route
,
IndexRoute
,
browserHistory
}
from
'react-router'
;
import
'normalize.css/normalize.css'
;
import
GMap
from
'./GMap'
;
import
Layout
from
'./Layout'
;
import
GMapOptim
from
'./GMapOptim'
;
import
GMapLayers
from
'./GMapLayers'
;
import
GMapHeatmap
from
'./GMapHeatmap'
;
import
GMapResizable
from
'./GMapResizable'
;
import
'./Main.sass'
;
const
mountNode
=
document
.
getElementById
(
'app'
)
;
render
(
<
Router
history
=
{
browserHistory
}
>
<
Route
path
=
"/"
component
=
{
Layout
}
>
<
Route
markersCount
=
{
50
}
path
=
"hoverunoptim"
component
=
{
GMap
}
/>
<
Route
markersCount
=
{
50
}
path
=
"layers"
component
=
{
GMapLayers
}
/>
<
Route
markersCount
=
{
50
}
path
=
"hoveroptim"
component
=
{
GMapOptim
}
/>
<
Route
markersCount
=
{
20
}
path
=
"resizable"
component
=
{
GMapResizable
}
/>
<
Route
markersCount
=
{
20
}
path
=
"heatmap"
component
=
{
GMapHeatmap
}
/>
<
IndexRoute
markersCount
=
{
20
}
component
=
{
GMap
}
/>
</
Route
>
</
Router
>
,
mountNode
)
;
Back
|
FazBrowse Home
|
New Git URL