mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 18:31:17 +01:00
Fixed lint errors.
This commit is contained in:
parent
cb6c6e0d9f
commit
24c52074b8
3 changed files with 4 additions and 1 deletions
|
@ -114,6 +114,7 @@ export default class Toolbar extends React.Component {
|
|||
onToggleModal: PropTypes.func,
|
||||
onSetMapState: PropTypes.func,
|
||||
mapState: PropTypes.string,
|
||||
renderer: PropTypes.string,
|
||||
}
|
||||
|
||||
state = {
|
||||
|
|
|
@ -31,6 +31,7 @@ export default class OpenLayersMap extends React.Component {
|
|||
accessToken: PropTypes.string,
|
||||
style: PropTypes.object,
|
||||
onLayerSelect: PropTypes.func.isRequired,
|
||||
debugToolbox: PropTypes.bool.isRequired,
|
||||
}
|
||||
|
||||
static defaultProps = {
|
||||
|
@ -123,7 +124,7 @@ export default class OpenLayersMap extends React.Component {
|
|||
className="maputnik-popup"
|
||||
>
|
||||
<button
|
||||
class="mapboxgl-popup-close-button"
|
||||
className="mapboxgl-popup-close-button"
|
||||
onClick={this.closeOverlay}
|
||||
aria-label="Close popup"
|
||||
>
|
||||
|
|
|
@ -9,6 +9,7 @@ class DebugModal extends React.Component {
|
|||
isOpen: PropTypes.bool.isRequired,
|
||||
renderer: PropTypes.string.isRequired,
|
||||
onChangeMaboxGlDebug: PropTypes.func.isRequired,
|
||||
onChangeOpenlayersDebug: PropTypes.func.isRequired,
|
||||
onOpenToggle: PropTypes.func.isRequired,
|
||||
mapboxGlDebugOptions: PropTypes.object,
|
||||
openlayersDebugOptions: PropTypes.object,
|
||||
|
|
Loading…
Reference in a new issue