
Security News
The AI Industry Is Betting on Open Weights
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.
@r2don/react-naver-map
Advanced tools
네이버 맵을 리액트에서 사용하기 편하게 만들어 둔 라이브러리입니다.
# with npm
npm i @r2don/react-naver-map
# with yarn
yarn add @r2don/react-naver-map
# with pnpm
pnpm add @r2don/react-naver-map
기본 스타일이 적용되어있지 않으니, 필요에 맞게 width와 height를 적용해주세요.
import { Map, useNaverMapInit, Marker } from "@r2don/react-naver-map";
const MARKERS = [
{ latitude: 37, longitude: 127 },
{ latitude: 37.5, longitude: 127.5 },
{ latitude: 38, longitude: 128 },
{ latitude: 38.5, longitude: 128.5 },
];
function App() {
const { isLoaded } = useNaverMapInit();
if (!isLoaded) return null;
return (
<Map
center={{ latitude: 37.3595704, longitude: 127.105399 }}
style={{ height: "500px", width: "500px" }}
>
{MARKERS.map((marker) => (
<Marker key={JSON.stringify(marker)} position={marker} />
))}
</Map>
);
}
import { Map, useNaverMapInit, Marker, Poly } from "@r2don/react-naver-map";
const MARKERS = [
{ latitude: 37, longitude: 127 },
{ latitude: 37.5, longitude: 127.5 },
{ latitude: 38, longitude: 128 },
{ latitude: 38.5, longitude: 128.5 },
];
function App() {
const { isLoaded } = useNaverMapInit();
if (!isLoaded) return null;
const path = [{ latitude: 37.3595704; longitude: 127.105399 }, { latitude: 37.3585781; longitude: 127.1053234 }];
const mid = {
latitude: (path[0].latitude + path[1].latitude) / 2,
longitude: (path[0].longitude + path[1].longitude) / 2,
}
return (
<Map
center={{ latitude: mid.latitude, longitude: mid.longitude }}
style={{ height: "500px", width: "500px" }}
>
{MARKERS.map((marker) => (
<Marker key={JSON.stringify(marker)} position={marker} />
))}
<Polyline path={path} />
</Map>
);
}
Licensed under the MIT License, Copyright (c) 2022 r2don.
See LICENSE for more information.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.