File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
src/client/components/facet_results Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ import markerIconRed from '../../img/markers/marker-icon-red.png'
3737import markerIconOrange from '../../img/markers/marker-icon-orange.png'
3838import markerIconYellow from '../../img/markers/marker-icon-yellow.png'
3939
40+ import mapboxLogo from '../../img/logos/mapbox-logo-white.png'
41+
4042// const buffer = lazy(() => import('@turf/buffer'))
4143import buffer from '@turf/buffer'
4244
@@ -265,7 +267,7 @@ class LeafletMap extends React.Component {
265267
266268 // Base layer(s)
267269 const mapboxBaseLayer = L . tileLayer ( `https://api.mapbox.com/styles/v1/mapbox/${ mapboxStyle } /tiles/{z}/{x}/{y}?access_token=${ mapboxAccessToken } ` , {
268- attribution : '© <a href="https://www.mapbox.com/map-feedback/" target="_blank" rel="noopener">Mapbox</a> © <a href="http://osm.org/copyright" target="_blank" rel="noopener">OpenStreetMap</a> contributors' ,
270+ attribution : '© <a href="https://www.mapbox.com/map-feedback/" target="_blank" rel="noopener">Mapbox</a> © <a href="http://osm.org/copyright" target="_blank" rel="noopener">OpenStreetMap</a> contributors <strong><a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a></strong> ' ,
269271 tileSize : 512 ,
270272 zoomOffset : - 1
271273 } )
@@ -1002,6 +1004,16 @@ class LeafletMap extends React.Component {
10021004 height : '100%'
10031005 } }
10041006 >
1007+ < Box
1008+ component = 'img'
1009+ src = { mapboxLogo }
1010+ sx = { {
1011+ height : 20 ,
1012+ ml : 6 ,
1013+ mt : 1 ,
1014+ bottom : 1
1015+ } }
1016+ />
10051017 { ( this . props . fetching ||
10061018 ( this . props . showExternalLayers && this . props . leafletMapState . fetching ) ) &&
10071019 < Box
You can’t perform that action at this time.
0 commit comments