BlackAdi Banner

TypeScript example 🗺️

=================================

POC Features:

  • Fetch geolocation via faker api.
  • Using Google JS map API to add pointer for each geolocation.

Prerequisites

  1. Parcel must be installed to run this sample.
  2. Enable Google Maps JavaScript API (For more information, see the documentation).
  3. Add your generate API key to the google map script tag inside index.html

Install Parcel

   npm install -g parcel-bundler

Setup

  1. Clone this repository git clone https://github.com/blackadi/typescript_example1.git.
  2. On the command line, navigate to the root of the repository, and run npm install to install the project dependencies via npm.

Running the sample

  parcel index.html

Open a browser and navigate to the URL shown on your terminal, which should be similar to this http://localhost:1234