## uni.createMapContext(mapId, component?) @createmapcontext

<!-- UTSAPIJSON.createMapContext.description -->

参考：[Map组件](../component/map.md)

<!-- UTSAPIJSON.createMapContext.compatibility -->

<!-- UTSAPIJSON.createMapContext.param -->

<!-- UTSAPIJSON.createMapContext.returnValue -->

<!-- UTSAPIJSON.createMapContext.tutorial -->
