zeakd / react-naver-maps

React Navermaps API integration for modern development.
https://zeakd.github.io/react-naver-maps/
118 stars 23 forks source link

naver.map.Service 객체 사용 #56

Closed nuggy875 closed 3 years ago

nuggy875 commented 3 years ago

안녕하세요 질문이 있습니다.

https://navermaps.github.io/maps.js/docs/naver.maps.Service.html

해당 객체를 불러올 방법이 있을까요?

nuggy875 commented 3 years ago

사용할 submodule을 배열 형태로 넣어주면 됩니다.

const mySubModule = ['panorama','geocoder'];

<RenderAfterNavermapsLoaded>
    ncpClientId={ClientID}
    submodules={mySubModules}

</RenderAfterNavermapsLoaded>

https://navermaps.github.io/maps.js/docs/tutorial-4-Submodules.html