Skip to content

Commit

Permalink
Enable attribution control
Browse files Browse the repository at this point in the history
  • Loading branch information
archived-m committed Jul 27, 2018
1 parent 8c15ae6 commit e22012d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/components/Explorer/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ class MapLeaflet extends Component {
maxZoom={17}
maxBounds={this.state.bounds}
maxBoundsViscosity={0.5}
attributionControl={false}
useFlyTo
>
<TileLayer url="https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png" attribution="&amp;copy <a href=&quot;http://osm.org/copyright&quot;>OpenStreetMap</a> contributors"/>
<TileLayer
url="https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"
attribution="&amp;copy <a href=&quot;http://osm.org/copyright&quot;>OpenStreetMap</a> contributors"
/>
<GeoJSON
data={provincesGeoJSON}
style={{
Expand Down

0 comments on commit e22012d

Please sign in to comment.