Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 539 Bytes

File metadata and controls

20 lines (14 loc) · 539 Bytes

Purpose

  • Show markers
  • Render routes

Supported props

  • markers: [{ lat, lng, icon, info, radius }]
  • routes: [{ lat, lng }]
  • onCenterChange: func -> show another marker on center
  • showGeoLocation: true | false

Install

  1. Using Node v12.10.0 and Yarn 1.17.3
  2. Current Folder Root using yarn install and yarn react react-dom
  3. After inside file package.json remove 2 package react react-dom in dependencies
  4. Move folder examaple using cmd yarn install
  5. Copy file .env.example to .evn config Gmap key