$.fn.extend({ //表单加载json对象数据 setForm : function (jsonValue) { var obj = this; $.each(jsonValue, function (name, ival) { var $oinput = obj.find("input[name=" + name + "]"); if ($oinput.attr("type") == "checkbox") { i
代码如下: // Construct the default list of terrain sources. var terrainModels = Cesium.createDefaultTerrainProviderViewModels(); // Construct the viewer with just what we need for this base application var viewer = new Cesium.Viewer('cesiumContainer', {