Version: 1.3.42

Taro.createMapContext(mapId, this.$scope)

使用方式同 wx.createMapContext

示例代码

import Taro from '@tarojs/taro'
const mapCtx = Taro.createMapContext('myMap')

API支持度

API微信小程序H5React Native
Taro.createMapContext✔️