Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lam-station-visualization
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
data-analysis-and-ai
lam-station-visualization
Commits
4dd9d956
Commit
4dd9d956
authored
6 years ago
by
Janne Alatalo
Browse files
Options
Downloads
Patches
Plain Diff
Remove the action area from the station data card
parent
f294bc4f
No related branches found
No related tags found
No related merge requests found
Pipeline
#4045
passed
6 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/PointMap.js
+15
-18
15 additions, 18 deletions
src/PointMap.js
with
15 additions
and
18 deletions
src/PointMap.js
+
15
−
18
View file @
4dd9d956
...
@@ -3,7 +3,6 @@ import DeckGL, { PolygonLayer, MapController } from 'deck.gl';
...
@@ -3,7 +3,6 @@ import DeckGL, { PolygonLayer, MapController } from 'deck.gl';
import
{
StaticMap
}
from
'
react-map-gl
'
;
import
{
StaticMap
}
from
'
react-map-gl
'
;
import
Card
from
'
@material-ui/core/Card
'
;
import
Card
from
'
@material-ui/core/Card
'
;
import
CardContent
from
'
@material-ui/core/CardContent
'
;
import
CardContent
from
'
@material-ui/core/CardContent
'
;
import
CardActionArea
from
'
@material-ui/core/CardActionArea
'
;
import
CardActions
from
'
@material-ui/core/CardActions
'
;
import
CardActions
from
'
@material-ui/core/CardActions
'
;
import
Button
from
'
@material-ui/core/Button
'
;
import
Button
from
'
@material-ui/core/Button
'
;
import
Typography
from
'
@material-ui/core/Typography
'
;
import
Typography
from
'
@material-ui/core/Typography
'
;
...
@@ -140,23 +139,21 @@ class PointMap extends Component {
...
@@ -140,23 +139,21 @@ class PointMap extends Component {
return
(
return
(
<
Card
style
=
{
styles
.
card
}
>
<
Card
style
=
{
styles
.
card
}
>
<
CardActionArea
>
<
CardContent
>
<
CardContent
>
<
Typography
gutterBottom
variant
=
"
headline
"
component
=
"
h3
"
>
<
Typography
gutterBottom
variant
=
"
headline
"
component
=
"
h3
"
>
{
name
}
{
name
}
<
/Typography
>
<
/Typography
>
{
data
.
map
(
d
=>
(
{
data
.
map
(
d
=>
(
<
div
style
=
{
styles
.
val_div
}
>
<
div
style
=
{
styles
.
val_div
}
>
<
Typography
variant
=
"
caption
"
>
<
Typography
variant
=
"
caption
"
>
{
d
.
h
}
{
d
.
h
}
<
/Typography
>
<
/Typography
>
<
Typography
variant
=
"
subheading
"
>
<
Typography
variant
=
"
subheading
"
>
{
d
.
v
}
{
d
.
v
}
<
/Typography
>
<
/Typography
>
<
/div
>
<
/div
>
))}
))}
<
/CardContent
>
<
/CardContent
>
<
/CardActionArea
>
<
CardActions
>
<
CardActions
>
<
Button
size
=
"
small
"
color
=
"
primary
"
onClick
=
{()
=>
this
.
setState
(
close_card
)}
>
<
Button
size
=
"
small
"
color
=
"
primary
"
onClick
=
{()
=>
this
.
setState
(
close_card
)}
>
Close
Close
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment