# MapContext wx.createMapContext(string mapId, Object this)

with Promise style call: Not supported

Mini Program plugin: Support, need to Mini Program base library version no less than 1.9.6

create map context MapContext Object. Recommended use wx.createSelectorQuery Obtain context Object.

# parameter

# string mapId

map Component id

# Object this

Under a custom component, the this of the current component instance to manipulate within the component map assembly

# Return value

# MapContext