Skip to content

Commit b7694cd

Browse files
committed
Reverse lat/lon so that it matches map search
* Map search by centerpoint m/ currently uses lon/lat, so reverse lat/lon on TaskPane to match and make copy/paste work as expected
1 parent 7227c8a commit b7694cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/TaskPane/TaskLatLon/TaskLatLon.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export default class TaskLatLon extends Component {
2424

2525
return (
2626
<div className={classNames('task-lat-lon', this.props.className)}>
27-
<span className='task-lat-lon__label'>Lat/Lon:</span>
28-
<span className='task-lat-lon__latitude'>
29-
{this.rounded(centerpoint.lat)}
30-
</span>, <span className='task-lat-lon__longitude'>
27+
<span className='task-lat-lon__label'>Lon/Lat:</span>
28+
<span className='task-lat-lon__longitude'>
3129
{this.rounded(centerpoint.lng)}
30+
</span>, <span className='task-lat-lon__latitude'>
31+
{this.rounded(centerpoint.lat)}
3232
</span>
3333

3434
<CopyToClipboard text={`${this.rounded(centerpoint.lat)}, ${this.rounded(centerpoint.lng)}`}>

0 commit comments

Comments
 (0)