mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:15:24 +01:00
Fixed lint errors.
This commit is contained in:
parent
79fa2b3508
commit
4269e4573c
3 changed files with 4 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue