All Projects → JaeSeoKim → react-kakao-maps-sdk

JaeSeoKim / react-kakao-maps-sdk

Licence: MIT license
React components for using kakao map api

Programming Languages

typescript
32286 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to react-kakao-maps-sdk

react-kakao-maps
카카오 지도 (Daum 지도 Web API) 리액트 컴포넌트
Stars: ✭ 34 (-74.63%)
Mutual labels:  daum-map, kakaomap, kakao-maps
census-map-downloader
Easily download U.S. census maps
Stars: ✭ 31 (-76.87%)
Mutual labels:  maps
flutter map tile caching
Plugin for 'flutter_map' providing advanced caching functionality, with ability to download map regions for offline use.
Stars: ✭ 66 (-50.75%)
Mutual labels:  maps
30DayMapChallenge
The official website for #30DayMapChallenge, It is a daily mapping/cartography/data visualization challenge aimed at the spatial community. Code for map submissions.
Stars: ✭ 33 (-75.37%)
Mutual labels:  maps
js-markerclusterer
Create and manage clusters for large amounts of markers
Stars: ✭ 92 (-31.34%)
Mutual labels:  maps
flyxc
GPS track visualization, flight planning, live tracking, and more ...
Stars: ✭ 47 (-64.93%)
Mutual labels:  maps
tmap-book
A book on elegant and informative maps with the tmap package
Stars: ✭ 23 (-82.84%)
Mutual labels:  maps
open route service
An encapsulation made around openrouteservice API for Dart and Flutter projects. Made for easy generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Pelias Geocoding, POIs, Elevation and routing Optimizations using their amazing API.
Stars: ✭ 20 (-85.07%)
Mutual labels:  maps
geofiddle
Geometric conversions between different formats and projections
Stars: ✭ 15 (-88.81%)
Mutual labels:  maps
mini-map-maker
A tool for automatically generating 3D printable STLs from freely available lidar scan data.
Stars: ✭ 51 (-61.94%)
Mutual labels:  maps
geofind
Multiplayer Geographical Guessing Game using PostGIS, Nuxt, Leaflet & Colyseus.
Stars: ✭ 31 (-76.87%)
Mutual labels:  maps
flutter-maplibre-gl
A flutter package for showing customizable vector/raster maps with Maplibre GL (forked from tobrun/flutter-mapbox-gl)
Stars: ✭ 69 (-48.51%)
Mutual labels:  maps
cMaps
🎨 Control options and customization of the Google Maps colors, just 1,7 KB.
Stars: ✭ 14 (-89.55%)
Mutual labels:  maps
GoogleMapsHelper
An easy to integrate Model Based Google Maps Helper (SVHTTPClient, AFNetworking) That lets you Geo Code , Reverse Geocode, Get Directions , Places Autocomplete.
Stars: ✭ 21 (-84.33%)
Mutual labels:  maps
android
Where you can find everything Android from Mapzen
Stars: ✭ 106 (-20.9%)
Mutual labels:  maps
Samples-JS-PHP
JavaScript and PHP samples for Stimulsoft Reports.PHP reporting tool.
Stars: ✭ 17 (-87.31%)
Mutual labels:  maps
GPXSee-maps
GPXSee maps
Stars: ✭ 27 (-79.85%)
Mutual labels:  maps
DrivingDirsMapActivity
Driving Directions in MapActivity sample for Android
Stars: ✭ 17 (-87.31%)
Mutual labels:  maps
rigel-rn
React Native Starter App with Redux, Sagas, Perfect Structure, works under rigel cli ( which helps to create reducer, components, screens, sagas) by command line
Stars: ✭ 22 (-83.58%)
Mutual labels:  maps
unfolded-maps
Unfolded Studio sample maps 🗺️ with Observable JS 📓, Jupyter/.Net Interactive notebooks 📚 & Unfolded Map SDK
Stars: ✭ 20 (-85.07%)
Mutual labels:  maps

react-kakao-maps-sdk

Kakao Maps API를 react에 맞게 포팅한 라이브러리 입니다.

version license docs build status npm dm GitHub issues

Usage

이 라이브러리를 사용하기 위해서는 필수적으로 Kakao 지도 API를 불러와야 합니다.

Kakao 지도 Javscript API

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

TypeScript

타입스크립트 사용자를 위해 kakao.maps.d.ts 패키지를 제공합니다.

tsconfig.jsoncompilerOptions.types 속성에 kakao.maps.d.ts 패키지를 추가하시면 됩니다.

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

Install

npm install react-kakao-maps-sdk
# or
yarn add react-kakao-maps-sdk

Simple Usage

맵위에 마커와 인포윈도우 올리기

function(){
  return (
    <Map
      center={{ lat: 33.5563, lng: 126.79581 }}
      style={{ width: "100%", height: "360px" }}
    >
      <MapMarker position={{ lat: 33.55635, lng: 126.795841 }}>
        <div style={{color:"#000"}}>Hello World!</div>
      </MapMarker>
    </Map>
  )
}

맵위에 커스텀오버레이 올리기

function(){
  return (
    <Map
      center={{ lat: 33.5563, lng: 126.79581 }}
      style={{ width: "100%", height: "360px" }}
    >
      <CustomOverlayMap position={{ lat: 33.55635, lng: 126.795841 }}>
        <div
          style={{padding:"42px", backgroundColor:"#fff", color:"#000"}}
        >
          Custom Overlay!
        </div>
      </CustomOverlayMap>
    </Map>
  )
}

맵위에 마커 클러스터 올리기

function(){
  return (
    <Map
      center={{ lat: 36.2683, lng: 127.6358 }}
      style={{ width: "100%", height: "360px" }}
      level={14}
    >
      <MarkerClusterer
        averageCenter={true}
        minLevel={10}
      >
        {clusterPositionsData.positions.map((pos) => (
          <MapMarker
            key={`${pos.lat}-${pos.lng}`}
            position={pos}
          />
        ))}
      </MarkerClusterer>
    </Map>
  )
}

Documentation

Working list

  • Map
    • Marker
    • InfoWindow
    • CustomOverlay
    • MarkerClusterer
    • AbstractOverlay
    • Shape
      • Circle, Polyline, Polygon, Rectangle, Ellipse
    • DrawingBox
  • Roadview
    • Marker
    • InfoWindow
    • CustomOverlay
  • StaticMap

Contribute

ISSUE와 PR 대환영 입니다..!!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].