Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
df-aggregator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleksandr Barabash
df-aggregator
Commits
e1bea665
Commit
e1bea665
authored
Jul 12, 2022
by
Corey Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set default map to ESRI so it doesn't load to a blank screen.
parent
1570b85a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cesium.tpl
views/cesium.tpl
+7
-0
No files found.
views/cesium.tpl
View file @
e1bea665
...
...
@@ -53,7 +53,14 @@
// Your access token can be found at: https://cesium.com/ion/tokens.
Cesium
.
Ion
.
defaultAccessToken
=
'{
{
access_token
}
}'
;
%
end
// Set default map to ESRI
const
esri
=
new
Cesium
.
ArcGisMapServerImageryProvider
({
url
:
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
});
var
viewer
=
new
Cesium
.
Viewer
(
'cesiumContainer'
,
{
imageryProvider
:
esri
,
// imageryProvider : new Cesium.TileMapServiceImageryProvider({
// url : Cesium.buildModuleUrl('Assets/Textures/NaturalEarthII')
// }),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment