diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-08 11:40:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-08 11:40:01 +1200 |
commit | 1461b376e41cf41cd9e49f6df200ba3f573fa127 (patch) | |
tree | 7d9aef29ef8f3b812ae75fe86d3b322185028500 /modern/src/MainMap.js | |
parent | 353bd397766bb5d780e8f0877f95aa0ad492b579 (diff) | |
download | trackermap-web-1461b376e41cf41cd9e49f6df200ba3f573fa127.tar.gz trackermap-web-1461b376e41cf41cd9e49f6df200ba3f573fa127.tar.bz2 trackermap-web-1461b376e41cf41cd9e49f6df200ba3f573fa127.zip |
Implement device list
Diffstat (limited to 'modern/src/MainMap.js')
-rw-r--r-- | modern/src/MainMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/MainMap.js b/modern/src/MainMap.js index 0e93ddba..7655aee8 100644 --- a/modern/src/MainMap.js +++ b/modern/src/MainMap.js @@ -16,7 +16,7 @@ class MainMap extends Component { render() { const position = [this.state.lat, this.state.lng] - const markers = this.props.positions.map((position) => + const markers = this.props.positions.map(position => <Marker key={position.id.toString()} position={{ lat: position.latitude, lng: position.longitude }}> <Popup> A pretty CSS3 popup. <br /> Easily customizable. |