Skip to content

Commit 7c2ab8c

Browse files
author
hpinkos
committed
cleanup
1 parent 4af4c7d commit 7c2ab8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/pinPoint.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@
141141
var centerOfScreen = new Cesium.Cartesian2(viewer.canvas.clientWidth / 2,
142142
viewer.canvas.clientHeight / 2);
143143
camera.flyTo({
144-
destination: viewer.camera.pickEllipsoid(centerOfScreen),
145-
range: 30000.0
144+
destination: Cesium.Cartesian3.fromRadians(camera.positionCartographic.longitude, camera.positionCartographic.latitude, 300000)
146145
});
147146
</script>
148147
</body>

examples/polygonStyle.html

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134

135135
viewer.entities.add({
136136
polygon: {
137+
height: 0,
137138
hierarchy: polygonHierarchy,
138139
material: Cesium.Color.YELLOW.withAlpha(0.6),
139140
outline: true,

0 commit comments

Comments
 (0)