daum-map-wrap
v1.0.0
Published
Simple wrapper to load daum map async
Downloads
11
Readme
daum-map-wrap
Simple wrapper to load daum map async + provide TS types
Usage
import loadDaumMap from "daum-map-wrap";
loadDaumMap(API_KEY, "drawing").then(maps => {
// function returns Promise of `daum.maps`
const map = new maps.Map(mapContainer, {});
// global object also registered
const manager = new daum.maps.drawing.DrawingManager({
map
});
});