mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 18:21: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,
|
onToggleModal: PropTypes.func,
|
||||||
onSetMapState: PropTypes.func,
|
onSetMapState: PropTypes.func,
|
||||||
mapState: PropTypes.string,
|
mapState: PropTypes.string,
|
||||||
|
renderer: PropTypes.string,
|
||||||
}
|
}
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
|
|
|
@ -31,6 +31,7 @@ export default class OpenLayersMap extends React.Component {
|
||||||
accessToken: PropTypes.string,
|
accessToken: PropTypes.string,
|
||||||
style: PropTypes.object,
|
style: PropTypes.object,
|
||||||
onLayerSelect: PropTypes.func.isRequired,
|
onLayerSelect: PropTypes.func.isRequired,
|
||||||
|
debugToolbox: PropTypes.bool.isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
|
@ -123,7 +124,7 @@ export default class OpenLayersMap extends React.Component {
|
||||||
className="maputnik-popup"
|
className="maputnik-popup"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="mapboxgl-popup-close-button"
|
className="mapboxgl-popup-close-button"
|
||||||
onClick={this.closeOverlay}
|
onClick={this.closeOverlay}
|
||||||
aria-label="Close popup"
|
aria-label="Close popup"
|
||||||
>
|
>
|
||||||
|
|
|
@ -9,6 +9,7 @@ class DebugModal extends React.Component {
|
||||||
isOpen: PropTypes.bool.isRequired,
|
isOpen: PropTypes.bool.isRequired,
|
||||||
renderer: PropTypes.string.isRequired,
|
renderer: PropTypes.string.isRequired,
|
||||||
onChangeMaboxGlDebug: PropTypes.func.isRequired,
|
onChangeMaboxGlDebug: PropTypes.func.isRequired,
|
||||||
|
onChangeOpenlayersDebug: PropTypes.func.isRequired,
|
||||||
onOpenToggle: PropTypes.func.isRequired,
|
onOpenToggle: PropTypes.func.isRequired,
|
||||||
mapboxGlDebugOptions: PropTypes.object,
|
mapboxGlDebugOptions: PropTypes.object,
|
||||||
openlayersDebugOptions: PropTypes.object,
|
openlayersDebugOptions: PropTypes.object,
|
||||||
|
|
Loading…
Reference in a new issue