Skip to content

Commit

Permalink
Add Topographic map
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowm committed Nov 5, 2023
1 parent 8bc30c0 commit cf469f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/modules/CesiumController.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ export class CesiumController {
alpha: 1,
base: true,
},
Topo: {
create: () => new Cesium.UrlTemplateImageryProvider({
url: "https://api.maptiler.com/maps/topo-v2/{z}/{x}/{y}@2x.png?key=tiHE8Ed08u6ZoFjbE32Z",
credit: `<a href="https://www.maptiler.com/copyright/" target="_blank">&copy; MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>`

Check failure on line 118 in src/modules/CesiumController.js

View workflow job for this annotation

GitHub Actions / build (16)

Missing trailing comma
}),
alpha: 1,
base: true,
},
BlackMarble: {
create: () => new Cesium.WebMapServiceImageryProvider({
url: "https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi",
Expand Down

0 comments on commit cf469f4

Please sign in to comment.