Custom Style
Apply custom map styles created with Naver Style Editor
Custom Style
Apply custom map styles created with Naver Style Editor.
Basic Usage
<NaverMapView
customStyleId="your-style-id-here"
onCustomStyleLoaded={() => {
console.log('Style loaded');
}}
onCustomStyleLoadFailed={({ message }) => {
console.log('Style failed:', message);
}}
/>Props
customStyleId?: string- Style ID from Naver Style EditoronCustomStyleLoaded?: () => void- Called when style loads successfullyonCustomStyleLoadFailed?: (params: {message: string}) => void- Called when style loading fails