微信小程序API 地圖·創(chuàng)建MapContext對象

2020-07-22 17:15 更新

MapContext wx.createMapContext(string mapId, Object this)

創(chuàng)建 map 上下文 MapContext 對象。

參數(shù)

string mapId

map 組件的 id

Object this

在自定義組件下,當(dāng)前組件實(shí)例的this,以操作組件內(nèi) map 組件

返回值

MapContext


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號