Skip to content

Commit

Permalink
use new scene attribution parameter for Nextzen tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bcamper committed Jul 31, 2020
1 parent 3490ac2 commit 365bb6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions demos/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
// layer_stats: true // enable to collect detailed layer stats, access w/`scene.debug.layerStats()`
// wireframe: true // enable for wireframe rendering mode
},
logLevel: 'debug',
attribution: '<a href="https://github.com/tangrams/tangram" target="_blank">Tangram</a> | &copy; OSM contributors | <a href="https://nextzen.org/" target="_blank">Nextzen</a>'
logLevel: 'debug'
});

// Create a Leaflet map
Expand Down
1 change: 1 addition & 0 deletions demos/scene.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ sources:
# zooms: [0, 2, 4, 6, 8, 10, 12, 14, 16] # only load tiles every 2 zooms (overrides max_zoom)
url_params:
api_key: global.api_key
attribution: Tiles by <a href="https://www.nextzen.org/" target="_blank">Nextzen</a>
# request_headers: # send custom headers with tile requests
# Authorization: Bearer xxxxxxxxx
# Data filtering demo with 'scripts' and 'transform' properties:
Expand Down

0 comments on commit 365bb6e

Please sign in to comment.