Skip to content

shields-ctr/vite-cesium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cesium with Vite

I followed the instructions in this article to make a vite project with cesium;

Originally I tried simply copying static resources to Vite's public folder. This doesn't work, the cesium engine promptly starts making invalid MIME requests for some reason. You must use some ported webpack plugin to copy Cesium node_modules apparently... I don't understand these build tools enough to know why that is.

There is another Cesium example project here pretty much like this one;

Cesium Offline Deployment

Following instructions here;

Change constructor arguments to avoid using online resources;

Adding Map Markup;

Cesium Ion

I set up an Cesium Ion account for myself

This account is used throughout their tutorials to deliver terrain, textures, tiles, etc.

Notes

About

Experimenting with Cesium maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published