I am having trouble getting Tile to work on Cesium.
I have used MapTiler to generate the png files and I thought I edited helloworld correctly but it is empty where the Earth should be and there is a blue glow around where the earth should be.
The folder that was created by MapTiler is called images and the location is
C:/ms4w/Apache/htdocs/images
This is the code I came up with can anyone tell me what I have done wrong.
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Use correct character set. -->
<meta charset="utf-8">
<!-- Tell IE to use the latest, best version (or Chrome Frame if pre-IE11). -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>Hello World!</title>
<script src="Cesium/Cesium.js"></script>
<style>
@import url(Cesium/Widgets/widgets.css);
#cesiumContainer {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
margin: 0;
overflow: hidden;
padding: 0;
font-family: sans-serif;
}
body {
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div id="cesiumContainer"></div>
<script>
// TileMapService tile provider
var widget = new Cesium.CesiumWidget('cesiumContainer', {
imageryProvider : new Cesium.TileMapServiceImageryProvider({
url : 'file:///C:/ms4w/Apache/htdocs/images',
fileExtension: 'png',
maximumLevel: 4})
});
</script>
</body>
</html>