Skip to main content
Version: 1.x

Taro.createMapContext(mapId, this.$scope)

使用方式同 wx.createMapContext

示例代码

import Taro from '@tarojs/taro'

const mapCtx = Taro.createMapContext('myMap')

API支持度

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