Put repeated code into a function
Put repeated code into a function

CesiumGS/cesium,soceur/cesium,AnalyticalGraphicsInc/cesium,progsung/cesium,josh-bernstein/cesium,jasonbeverage/cesium,progsung/cesium,CesiumGS/cesium,kaktus40/cesium,hodbauer/cesium,soceur/cesium,likangning93/cesium,YonatanKra/cesium,likangning93/cesium,josh-bernstein/cesium,YonatanKra/cesium,hodbauer/cesium,CesiumGS/cesium,jasonbeverage/cesium,likangning93/cesium,likangning93/cesium,AnalyticalGraphicsInc/cesium,geoscan/cesium,YonatanKra/cesium,soceur/cesium,kaktus40/cesium,CesiumGS/cesium,CesiumGS/cesium,geoscan/cesium,likangning93/cesium,YonatanKra/cesium,hodbauer/cesium