Fixed lint errors.

This commit is contained in:
orangemug 2020-01-19 16:00:29 +00:00
parent 79fa2b3508
commit 4269e4573c
3 changed files with 4 additions and 1 deletions

View file

@ -60,6 +60,7 @@ export default class MapboxGlMap extends React.Component {
inspectModeEnabled: PropTypes.bool.isRequired,
highlightedLayer: PropTypes.object,
options: PropTypes.object,
onChange: PropTypes.func.isRequired,
}
static defaultProps = {

View file

@ -32,6 +32,8 @@ export default class OpenLayersMap extends React.Component {
style: PropTypes.object,
onLayerSelect: PropTypes.func.isRequired,
debugToolbox: PropTypes.bool.isRequired,
replaceAccessTokens: PropTypes.func.isRequired,
onChange: PropTypes.func.isRequired,
}
static defaultProps = {

View file

@ -55,7 +55,7 @@ class DebugModal extends React.Component {
<p>
<a
target="_blank"
rel="noopener" or rel="noreferrer"
rel="noopener noreferrer"
href={`https://www.openstreetmap.org/#map=${Math.round(mapView.zoom)+1}/${mapView.center.lat}/${mapView.center.lng}`}
>
Open in OSM