Skip to content

Commit

Permalink
maps_react: add missing attribution to MaplibreGlLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Mar 11, 2024
1 parent c127c90 commit 3f8ddd8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {

const createMaplibreGlLayer = (props, context) => {
const instance = L.maplibreGL({
attribution: props.attribution,
style: props.baseUrl,
transformRequest: function (url, resourceType) {
if (resourceType === 'Tile' && url.indexOf('https://') === 0) {
Expand Down

0 comments on commit 3f8ddd8

Please sign in to comment.