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

Create the MapContext object of the map context.

# Parameter

# string mapId

ID of the <map/> component

# Object context

Under custom components, current component instance "this" operates the <map/> component

# Return

# MapContext