Git Product home page Git Product logo

daum.maps.d.ts's Introduction

Musma Logo

daum.maps.d.ts

TypeScript Definitions for daum.maps.* (Daum 지도 Web API)

목적

타입스크립트로 개발하면서 daum.maps.* API를 사용하고 싶은데, 타입 정의 파일(*.d.ts)이 없어서 불편했습니다. 카카오 개발자에도 없고, DefinitelyTyped에서 찾아봐도 없고, 분명 사용하고 있는 곳은 많을텐데 공유해주시는 분도 없었습니다.

그래서 무스마 기술연구소에서 공유해드립니다.

사용법

이 패키지는 타입 정의만 포함하고 있습니다. 실제 구현은 Daum 지도 API를 불러와야 합니다.

다음 지도 Web API 사용법

<script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=발급받은 APP KEY를 넣으시면 됩니다."></script>

그리고 package.json에 devDependencies로 추가합니다.

# npm
$ npm Musma/daum.maps.d.ts --save-dev

# yarn
$ yarn add Musma/daum.maps.d.ts --dev

그리고 tsconfig.json의 compilerOptions.types 속성에 패키지를 추가하시면 됩니다.

{
  ...,
  "compilerOptions": {
    ...,
    "types": [
      ...,
      "daum.maps.d.ts"
    ]
  }
}

기여하기

아직 Daum 지도 Web API를 100% 정의하지 못했습니다.

필요한 부분을 보완해서 Pull Request를 보내주시면 같이 잘 쓰도록 하겠습니다.

저작권과 라이선스

  • API 명세는 카카오 소유입니다.
  • MIT 라이선스로 제공되니 알아서 잘 쓰시고, 웬만하면 여기에 공유해서 같이 쓰도록 합시다.

daum.maps.d.ts's People

Contributors

civilizeddev avatar parkheeseung avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.