官方示例之地球模組八 建立GeoODLine

2021-10-24 22:48:39 字數 1622 閱讀 5224

/**

* 該示例展示了建立不同樣式的 geoodline

*/new()

;[0,

0,0]

thing

.utils.

dynamicload

('',function()

});// 建立乙個瓦片圖層 新增到地圖中

create

(.google.cn/vt/lyrs=s&x=&y=&z='

, style:})

; map.

addlayer

(tilelayer1)

;// 攝像機飛行到某位置

flyto()

;// 建立乙個 thinglayer

create()

;// 將thinglayer新增到地圖中

map.

addlayer

(thinglayer)

;var startpos =

[116.39139175415039

,39.906082185995366];

newthing.widget.button

('畫素線'

,function()

}); thinglayer.

add(geoodline)

;// 新增到thinglayer中

}else})

;new

thing.widget.button

('畫素線(貼圖)'

,function()

}); thinglayer.

add(geoodline)

;// 新增到thinglayer中

}else})

;new

thing.widget.button

('管狀線'

,function()

}); thinglayer.

add(geoodline)

;// 新增到thinglayer中

}else})

;new

thing.widget.button

('管狀線(貼圖)'

,function()

}); thinglayer.

add(geoodline)

;// 新增到thinglayer中

}else})

;new

thing.widget.button

('片狀線'

,function()

}); thinglayer.

add(geoodline)

;// 新增到thinglayer中

}else})

;new

thing.widget.button

('片狀線(貼圖)'

,function()

}); thinglayer.

add(geoodline)

;// 新增到thinglayer中

}else})

;new

thing.widget.button

('開啟/關閉 發光'

,function()

})})

;

官方示例之地球模組六 建立GeoPoint

該示例展示了建立不同樣式的 geopoint new 0,0,0 thing utils.dynamicload function 建立乙個瓦片圖層 create google.cn vt lyrs s x y z 將瓦片圖新增到底圖圖層中 map.addlayer tilelayer1 earth...

官方示例之地球模組七 建立GeoLine

該示例展示了建立不同樣式的 geoline new 0,0,0 thing utils.dynamicload function 建立乙個瓦片圖層 新增到地圖中 create google.cn vt lyrs s x y z style map.addlayer tilelayer1 earthf...

github guide官方入門示例

老外的文件還是清晰明了,學會看英文教程,事半功倍。多人協作,版本控制是github的最基本功能。學會以下功能 1.建立repositories 很容易,直接在github上建立。2.建立branch 很容易,直接在branch欄建立。3.commit 編輯完檔案,提交,沒啥好說。4.建立pull r...