File tree 1 file changed +13
-1
lines changed
src/client/components/facet_results
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'
37
37
import markerIconOrange from '../../img/markers/marker-icon-orange.png'
38
38
import markerIconYellow from '../../img/markers/marker-icon-yellow.png'
39
39
40
+ import mapboxLogo from '../../img/logos/mapbox-logo-white.png'
41
+
40
42
// const buffer = lazy(() => import('@turf/buffer'))
41
43
import buffer from '@turf/buffer'
42
44
@@ -265,7 +267,7 @@ class LeafletMap extends React.Component {
265
267
266
268
// Base layer(s)
267
269
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> ' ,
269
271
tileSize : 512 ,
270
272
zoomOffset : - 1
271
273
} )
@@ -1002,6 +1004,16 @@ class LeafletMap extends React.Component {
1002
1004
height : '100%'
1003
1005
} }
1004
1006
>
1007
+ < Box
1008
+ component = 'img'
1009
+ src = { mapboxLogo }
1010
+ sx = { {
1011
+ height : 20 ,
1012
+ ml : 6 ,
1013
+ mt : 1 ,
1014
+ bottom : 1
1015
+ } }
1016
+ />
1005
1017
{ ( this . props . fetching ||
1006
1018
( this . props . showExternalLayers && this . props . leafletMapState . fetching ) ) &&
1007
1019
< Box
You can’t perform that action at this time.
0 commit comments