Minor typo
This commit is contained in:
parent
2e36c9cd17
commit
dcc88c09a3
1 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ const MyMarkersList = ({ markers }) => {
|
||||||
const FireList = ({ activefires, scale, useMarkers }) => {
|
const FireList = ({ activefires, scale, useMarkers }) => {
|
||||||
// console.log("Scaling? :" + scale);
|
// console.log("Scaling? :" + scale);
|
||||||
const items = activefires.map(({ _id, ...props }) => (
|
const items = activefires.map(({ _id, ...props }) => (
|
||||||
(useMarkers? <MyPopupMarker key={_id} {...props} />:"") +
|
useMarkers? <MyPopupMarker key={_id} {...props} />:
|
||||||
scale? <Fire key={_id} {...props} />:<FireMark key={_id} {...props} />))
|
scale? <Fire key={_id} {...props} />:<FireMark key={_id} {...props} />))
|
||||||
return <div style={{ display: 'none' }}>{items}</div>
|
return <div style={{ display: 'none' }}>{items}</div>
|
||||||
}
|
}
|
||||||
|
|
@ -90,7 +90,7 @@ class FiresMap extends React.Component {
|
||||||
this.state = {
|
this.state = {
|
||||||
viewport: DEFAULT_VIEWPORT,
|
viewport: DEFAULT_VIEWPORT,
|
||||||
modified: false,
|
modified: false,
|
||||||
userMarkers: true
|
useMarkers: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue